heptio / aws-quickstart

AWS Kubernetes cluster via CloudFormation and kubeadm
Apache License 2.0
223 stars 134 forks source link

replace `kubeadm alpha kubeconfig user` with `kubectl config` commands #246

Open chuckha opened 5 years ago

chuckha commented 5 years ago

Describe the solution you'd like Instead of depending on an alpha kubeadm feature that is at best staying unchanged in the alpha phase forever and at worst getting deleted (likely), we should get ahead of this curve and replace that feature with kubectl config commands.

I think it will be something like

  1. create kubeconfig with kubeadm
  2. set it as the active kubeconfig
  3. modify the config with the correct server & user

Anything else you would like to add: