AtkinsChang opened a new pull request, #354: URL: https://github.com/apache/pulsar-helm-chart/pull/354
### Motivation 1. support Kubernetes 1.26 `warning "autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler"` 2. field `.spec.replicas` should be owned by `kube-controller-manager` when HPA is enabled ### Modifications 1. Use `autoscaling/v2` if Kubernetes version >= 1.23 2. When `.Values.<component>.autoscaling.enabled` is set to true, field `.spec.replicas` is not generated ### Verifying this change - [ ] Make sure that the change passes the CI checks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
