apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: id-web-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: id-web-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: id-api-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: id-api-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: id-ums-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: id-ums-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: bi-web-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: bi-web-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: bi-api-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: bi-api-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: bi-jobs-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: bi-jobs-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: bi-dataservice-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: bi-dataservice-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: bold-etl-hpa namespace: bold-services spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: bold-etl-deployment minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 - type: Resource resource: name: memory target: type: Utilization averageUtilization: 80 behavior: scaleDown: stabilizationWindowSeconds: 60 policies: - type: Pods value: 1 periodSeconds: 60 - type: Percent value: 10 periodSeconds: 60