diff --git a/src/connectedk8s/HISTORY.rst b/src/connectedk8s/HISTORY.rst index 5536ba31906..d69e56115c9 100644 --- a/src/connectedk8s/HISTORY.rst +++ b/src/connectedk8s/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +1.5.3 +++++++ +* Add support to get AKS-EE kubernetes distro 1.5.2 ++++++ diff --git a/src/connectedk8s/azext_connectedk8s/custom.py b/src/connectedk8s/azext_connectedk8s/custom.py index 81312d3df1d..2ee0c134366 100644 --- a/src/connectedk8s/azext_connectedk8s/custom.py +++ b/src/connectedk8s/azext_connectedk8s/custom.py @@ -648,6 +648,10 @@ def get_kubernetes_distro(api_response): # Heuristic return "eks" if labels.get("minikube.k8s.io/version"): return "minikube" + if annotations.get("node.aksedge.io/distro") == 'aks_edge_k3s': + return "aks_edge_k3s" + if annotations.get("node.aksedge.io/distro") == 'aks_edge_k8s': + return "aks_edge_k8s" if provider_id.startswith("kind://"): return "kind" if provider_id.startswith("k3s://"): diff --git a/src/connectedk8s/setup.py b/src/connectedk8s/setup.py index 4f1158a4961..d92528e8cd6 100644 --- a/src/connectedk8s/setup.py +++ b/src/connectedk8s/setup.py @@ -17,7 +17,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '1.5.2' +VERSION = '1.5.3' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers