Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting The api-version '2022-03-01' is invalid in Azure AKS #7381

Open
chaporgin opened this issue Oct 11, 2024 · 1 comment
Open

Getting The api-version '2022-03-01' is invalid in Azure AKS #7381

chaporgin opened this issue Oct 11, 2024 · 1 comment
Labels
area/cluster-autoscaler kind/bug Categorizes issue or PR as related to a bug.

Comments

@chaporgin
Copy link

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 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.

@chaporgin chaporgin added the kind/bug Categorizes issue or PR as related to a bug. label Oct 11, 2024
@adrianmoisey
Copy link
Member

/area cluster-autoscaler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants