Azure / Azure/azure-libraries-for-java

[FEATURE REQ] KubernetesClustersImpl.listKubernetesVersions(Region.WEST_EUROPE) differs from az aks get-versions --location west-europe

Ouverte
#810 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
AKS customer-reported feature-request Mgmt
Langage dominant
Java
Étoiles
97
Forks
102
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Describe the bug**
The library function KubernetesClustersImpl.listKubernetesVersions() differs from the results that are given by `az aks get-versions --location west-europe`.

***Exception or Stack Trace***
None

**To Reproduce**
Steps to reproduce the behavior:
Execute function and `az aks get-versions --location west-europe`.

***Code Snippet***
`Azure.authenticate(credentials).withDefaultSubscription().kubernetesClusters().listKubernetesVersions(Region.EUROPE_WEST);`
`az aks get-versions --location west-europe --output table`

**Expected behavior**
I expect that the library is on-par with what the AZ cli gives, *or* that there is way to differentiate the results. In my case, I'm looking for the 'default' version, which the Azure Portal gives me (which is N-1 according to the docs). Using this library, I can't get the default version.

So it would be nice to have a function like: listKubernetesProductionVersions(Region.WEST_EUROPE), and a function like defaultKubernetesProductionVersion(Region.WEST_EUROPE).

**Screenshots**
None.

**Setup (please complete the following information):**
N/A

**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Bug Description Added
- [x] Repro Steps Added
- [x] Setup information Added

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par KubernetesClustersImpl.listKubernetesVersions et comparez ses résultats avec `az aks get-versions --location west-europe --output table`. Déterminez comment la bibliothèque devrait exposer les versions Kubernetes de production et par défaut, puis vérifiez que le comportement distingue les versions demandées des résultats de la CLI et du portail.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java, kubernetes
Domaine
cloud
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.