Replacement apiVersion for autoscaling/v2beta2 is autocaling/v2, not autoscaling/v1 #251
Closed
2 tasks done
Labels
bug
Something isn't working
What happened?
Replacement apiVersion for autoscaling/v2beta2 is
autocaling/v2
, notautoscaling/v1
, according to https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v126Isn't
autocaling/v1
older thanautoscaling/v2beta2
? v1 was promoted to GA on k8s v1.2, which was released in March 2016.https://github.com/kubernetes/kubernetes/blob/ea0764452222146c47ec826977f49d7001b0ea8c/CHANGELOG/CHANGELOG-1.2.md#other-notable-improvements
https://github.com/kubernetes/kubernetes/releases/tag/v1.2.0
What did you expect to happen?
Pluto outputs
autoscaling/v2
as replacement apiVersion.How can we reproduce this?
I'm still using older version of EKS cluster, and Pluto doesn't output replacement api versions which are supported only in newer k8s versions, so I just searched for source code on GitHub.
pluto/versions.yaml
Lines 236 to 241 in 77934e6
Previous versions of pluto outputted replacement API version even if you are not using k8s 1.23+, which was wrong. I've found the bug because of that: #212
version
Version:5.3.2 Commit:f8a2af06ad6f092f7545f882fe68fe22fbdeebe0
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: