2.5. HorizontalPodAutoscaler(HPA)를 사용하여 피연산자 배포의 복제본 수 구성
이번 릴리스에서는 HorizontalPodAutoscaler (HPA)를 사용하여 피연산자의 복제본 수를 구성할 수 있습니다.
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: scaler
namespace: {operator-namespace}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: __<deployment_name>__
...
위의 코드 조각의 < deployment_name >은 다음 배포 중 하나에 해당합니다. * che-server * che-gateway * 대시보드 * plugin-registry * devfile-registry
공식 문서에서 HPA 설정에 대한 자세한 내용을 확인하십시오.
추가 리소스