diff --git a/helm_deploy/wordpress/templates/hpa-wordpress.yaml b/helm_deploy/wordpress/templates/hpa-wordpress.yaml index 56fb0a47..186f95a3 100644 --- a/helm_deploy/wordpress/templates/hpa-wordpress.yaml +++ b/helm_deploy/wordpress/templates/hpa-wordpress.yaml @@ -22,5 +22,11 @@ spec: minReplicas: 1 maxReplicas: 1 {{- end }} - targetCPUUtilizationPercentage: 95 + metrics: + - type: Resource + resource: + name: cpu + target: + type: Utilization + averageUtilization: 95 {{- end }}