Azure / Azure/azure-libraries-for-java
[FEATURE REQ] KubernetesClustersImpl.listKubernetesVersions(Region.WEST_EUROPE) differs from az aks get-versions --location west-europe
- Lenguaje dominante
- Java
- Estrellas
- 97
- Forks
- 102
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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
Guía de contribución
Línea de trabajo
Comienza en KubernetesClustersImpl.listKubernetesVersions y compara sus resultados con `az aks get-versions --location west-europe --output table`. Determina cómo debería exponer la biblioteca las versiones de Kubernetes de producción y predeterminadas, y verifica después que el comportamiento distinga las versiones solicitadas de los resultados de la CLI y del portal.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java, kubernetes
- Área
- cloud
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100