UNCLASSIFIED - NO CUI

Skip to content

set hpa spec to be compatible with k8s 1.25 and autoscaling/v2

Rob Ferguson requested to merge istio-hpa-spec into master

General MR

Summary

Ensure default HorizontalPodAutoscaler configuration created by the IstioOperator uses updated autoscaling/v2 apiVersion.

Related to big-bang/product/packages/istio-controlplane#97 (closed)

Relevant logs/screenshots

Describing IstioOperator shows that it is in an Error state:

Ingress Gateways:
      Error:   failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/public-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
      Status:  ERROR
    Pilot:
      Error:   failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
      Status:  ERROR
  Status:      ERROR

Merge request reports