Support for autoscaler/v2
A customer is reporting (ZD internal: https://gitlab.zendesk.com/agent/tickets/414970), that the auto-deploy-image
project does not support autoscaler/v2
and only supports autoscaler/v2beta2
at this time. They would like to request support for autoscaler/v2
as GKE 1.26 does not support autoscaler/v2beta2
any longer.
The HPA v2beta2
API was removed in Kubernetes 1.26, the v2
API was introduced in Kubernetes 1.23.
Link to HPA version: https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/blob/master/assets/auto-deploy-app/templates/hpa.yaml#L3
Tests need updating as well: https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/blob/master/assets/auto-deploy-app/test/templates/hpa_test.go
Hypercloud support
The last Kubernetes version supporting the v2beta2
API is v1.25
- GCP starts the auto-upgrade on its stable channel on 2023-06-14. Support ends in February 2024.
- EKS started supporting 1.25 in February, 2023. Support ends in May 2024
- AKS support ends in December 2023
Proposal
In the the auto-deploy-image project:
- replace
autoscaling/v2beta2
withautoscaling/v2
- Just in case, make sure that
v2beta2
andv2
are backward compatible.
- Just in case, make sure that
- update tests
List of occurrences autoscaling/v2beta2