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

[RFE] Implement ssh command #24

Open
blanquicet opened this issue Apr 5, 2023 · 1 comment
Open

[RFE] Implement ssh command #24

blanquicet opened this issue Apr 5, 2023 · 1 comment
Labels
enhancement New feature or request feature-request Request to introduce a new feature

Comments

@blanquicet
Copy link
Member

blanquicet commented Apr 5, 2023

Current situation

kubectl aks doesn't provide a way to ssh into the nodes (VMSS instances) of an AKS cluster.

Ideal future situation

Investigate if how we can implement something like this:

$ kubectl aks shh --node aks-agentpool-12345678-vmss000000
# shell in the node

Of course, the idea solution is to not depend on the Kubernetes control plane but use the Azure SDK to be able to provide this functionality even when the Kubernetes control plane is not working properly, e.g. the API server is down. Note: Check if this kind of functionality is also available for VMSS: https://learn.microsoft.com/en-us/cli/azure/ssh?view=azure-cli-latest#az-ssh-vm

However, if it is not possible, we still have the option of using kubectl-node-shell and provide this functionality only if Kubernetes is working properly.

@blanquicet blanquicet added enhancement New feature or request feature-request Request to introduce a new feature labels Apr 5, 2023
@blanquicet blanquicet added this to the v0.2.0 milestone Apr 5, 2023
@blanquicet
Copy link
Member Author

blanquicet commented Aug 24, 2023

Another option is to use kubectl debug under the hood, but at this point, I'm wondering what is the added value that kubectl aks can add respect to kubectl debug?

@blanquicet blanquicet removed this from the v0.3.0 milestone Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-request Request to introduce a new feature
Projects
None yet
Development

No branches or pull requests

1 participant