Skip to content

Add flag --current-node to set-node command #57

Open

Description

Current situation

Users have to set the node and set it as current node:

$ kubectl aks config set-node node1 --subscription mySubID --node-resource-group myRG --vmss myVMSS --instance-id myInstanceID1
$ kubectl aks config use-node node1

# Run command automatically on node1
$ kubectl aks check-apiserver-connectivity

Ideal situation

Allow doing it in one command:

$ kubectl aks config set-node node1 --current-node --subscription mySubID --node-resource-group myRG --vmss myVMSS --instance-id myInstanceID1

# Run command automatically on node1
$ kubectl aks check-apiserver-connectivity

NOTE

Consider changing use-node to set --current-node. Specially after #56.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions