Loading manifests/logical_resourcesservice.yaml +24 −22 Changes for manifests/logical_resourcesservice.yaml: 24 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -75,25 +75,27 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: logical-resourcesservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: logical-resourcesservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 # TODO: Cannot be auto-scaled until a proper database is implemented. #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: logical-resourcesservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: logical-resourcesservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30 proto/logical_resources.proto +9 −9 File changed.Contains only whitespace changes. Show changes Loading
manifests/logical_resourcesservice.yaml +24 −22 Changes for manifests/logical_resourcesservice.yaml: 24 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -75,25 +75,27 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: logical-resourcesservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: logical-resourcesservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 # TODO: Cannot be auto-scaled until a proper database is implemented. #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: logical-resourcesservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: logical-resourcesservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30