A kubectl plugin for listing node pools/groups.
Make sure your Go bin directory is in your PATH:
export PATH="$(go env GOPATH)/bin:${PATH}"You can install kubectl-nodepools using krew with the following command:
kubectl krew install nodepoolsYou can also install it using the following command:
go install github.com/grafana/kubectl-nodepools@latest
kubectl-nodepools accepts the default flags from kubectl, like --context.
Pass --help for additional help.
kubectl nodepools listkubectl nodepools nodes $nodepoolWhere $nodepool should be the name of an existing node pool.