Skip to content
New issue

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

fix(helm): podinfo fails to create the hpa object #1721

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

swimablefish
Copy link

I can't use the podinfo helm chart to deploy. The HPA object need to be updated.

helm upgrade -i backend flagger/podinfo
--namespace default
--set nameOverride=backend
--set canary.enabled=true
W1111 15:09:04.768137 51420 warnings.go:70] unknown field "spec.metrics[0].resource.targetAverageUtilization"
W1111 15:09:04.768147 51420 warnings.go:70] unknown field "spec.metrics[1].resource.targetAverageValue"
Error: UPGRADE FAILED: failed to create resource: HorizontalPodAutoscaler.autoscaling "backend" is invalid: [spec.metrics[0].resource.target.type: Required value: must specify a metric target type, spec.metrics[0].resource.target.type: Invalid value: "": must be either Utilization, Value, or AverageValue, spec.metrics[0].resource.target.averageUtilization: Required value: must set either a target raw value or a target utilization, spec.metrics[1].resource.target.type: Required value: must specify a metric target type, spec.metrics[1].resource.target.type: Invalid value: "": must be either Utilization, Value, or AverageValue, spec.metrics[1].resource.target.averageUtilization: Required value: must set either a target raw value or a target utilization]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant