What k8s version are you using (kubectl version)?:
kubectl version Output
$ kubectl version
Client Version: v1.29.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.12
What environment is this in?:
Azure AKS
What did you expect to happen?:
The cluster-autoscaler works.
What happened instead?:
At the startup, logs
E1010 15:50:44.817285 1 azure_cache.go:84] Error while regenerating Azure cache: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 400, RawError: {"error":{"code":"InvalidApiVersionParameter","message":"The api-version '2022-03-01' is invalid. The supported versions are '2024-06-01-preview,2024-03-01,2023-07-01,2023-07-01-preview,2023-03-01-preview,2022-12-01,2022-11-01-preview,2022-09-01,2022-06-01,2022-05-01,2022-03-01-preview,2022-01-01,2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."}}
and restarts.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I looked at all the versions this project had for cluster-autoscaler, but I don't see any of the supported version the Azure gives me in the cluster-autoscaler codebase.
Which component are you using?:
cluster-autoscaler
What version of the component are you using?:
cluster-autoscaler-1.27.8
Component version:
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
Azure AKS
What did you expect to happen?:
The
cluster-autoscaler
works.What happened instead?:
At the startup, logs
and restarts.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I looked at all the versions this project had for
cluster-autoscaler
, but I don't see any of the supported version the Azure gives me in thecluster-autoscaler
codebase.