UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 7ae55579 authored by Hitesh Sharma's avatar Hitesh Sharma :speech_balloon: Committed by Micah Nagel
Browse files

Update HPA logic for Istio

parent dd3cd0cc
No related branches found
No related tags found
1 merge request!2688Update HPA logic for Istio
......@@ -16,7 +16,7 @@ istiod:
value: "false"
{{- end }}
# Change default hpaSpec to ensure generated HPA uses autoscaling/v2
{{- if (semverCompare ">=1.23" .Capabilities.KubeVersion.GitVersion) }}
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" }}
hpaSpec:
metrics:
- type: Resource
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment