Loading manifests/policyservice.yaml +19 −19 Original line number Diff line number Diff line Loading @@ -108,22 +108,22 @@ spec: limits: cpu: 2000m memory: 2048Mi --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: policyservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: policyservice minReplicas: 1 maxReplicas: 10 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: policyservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: policyservice # minReplicas: 1 # maxReplicas: 10 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 manifests/ztpservice.yaml +19 −19 Original line number Diff line number Diff line Loading @@ -104,22 +104,22 @@ spec: limits: cpu: 2000m memory: 2048Mi --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: ztpservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: ztpservice minReplicas: 1 maxReplicas: 10 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: ztpservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: ztpservice # minReplicas: 1 # maxReplicas: 10 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 Loading
manifests/policyservice.yaml +19 −19 Original line number Diff line number Diff line Loading @@ -108,22 +108,22 @@ spec: limits: cpu: 2000m memory: 2048Mi --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: policyservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: policyservice minReplicas: 1 maxReplicas: 10 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: policyservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: policyservice # minReplicas: 1 # maxReplicas: 10 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80
manifests/ztpservice.yaml +19 −19 Original line number Diff line number Diff line Loading @@ -104,22 +104,22 @@ spec: limits: cpu: 2000m memory: 2048Mi --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: ztpservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: ztpservice minReplicas: 1 maxReplicas: 10 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: ztpservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: ztpservice # minReplicas: 1 # maxReplicas: 10 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80