We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried installing the chart with autoscaling and the HPA failed. Pretty sure you need to update the hpa.yaml template metrics to look like this:
metrics: {{- if $serviceValues.autoscaling.targetCPUUtilizationPercentage }} - type: Resource resource: name: cpu target: type: Utilization averageUtilization: {{ $serviceValues.autoscaling.targetCPUUtilizationPercentage }} {{- end }} {{- if $serviceValues.autoscaling.targetMemoryUtilizationPercentage }} - type: Resource resource: name: memory target: type: Utilization averageUtilization: {{ $serviceValues.autoscaling.targetMemoryUtilizationPercentage }} {{- end }}
Instead of this:
metrics: {{- if $serviceValues.autoscaling.targetCPUUtilizationPercentage }} - type: Resource resource: name: cpu targetAverageUtilization: {{ $serviceValues.autoscaling.targetCPUUtilizationPercentage }} {{- end }} {{- if $serviceValues.autoscaling.targetMemoryUtilizationPercentage }} - type: Resource resource: name: memory targetAverageUtilization: {{ $serviceValues.autoscaling.targetMemoryUtilizationPercentage }} {{- end }}
Here is an example from the kubernets docs: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 50
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried installing the chart with autoscaling and the HPA failed. Pretty sure you need to update the hpa.yaml template metrics to look like this:
Instead of this:
Here is an example from the kubernets docs: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
The text was updated successfully, but these errors were encountered: