Skip to content

[RFE] Implement ssh command #24

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature-requestRequest to introduce a new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions