Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/connectedk8s/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Release History
===============
1.5.3
++++++
* Add support to get AKS-EE kubernetes distro
Copy link
Contributor

@yanzhudd yanzhudd Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is suggested to specify the related command of this change.

Copy link
Contributor Author

@9lash 9lash Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no command related to this change. This change introduces support for a new infrastructure and distribution. Basically, whenever the regular onboarding command az connectedk8s connect command is run on aks_edge_essential infrastructure (node), this change will return the appropriate name of the distribution for aks-edge-essential node.


1.5.2
++++++
Expand Down
4 changes: 4 additions & 0 deletions src/connectedk8s/azext_connectedk8s/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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://"):
Expand Down
2 changes: 1 addition & 1 deletion src/connectedk8s/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down