Skip to content

Commit

Permalink
Update HPA configuration to work with v2
Browse files Browse the repository at this point in the history
  • Loading branch information
brown-a2 committed Oct 4, 2023
1 parent f57e273 commit 8340c7d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion helm_deploy/wordpress/templates/hpa-wordpress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@ spec:
minReplicas: 1
maxReplicas: 1
{{- end }}
targetCPUUtilizationPercentage: 95
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 95
{{- end }}

0 comments on commit 8340c7d

Please sign in to comment.