Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
kubectl asking for username and password
I have just set up a Kubernetes cluster on DigitalOcean. I have followed the suggested tutorial but when I try and run the commands I keep getting prompted for a username and password which I have not been provided with.
I have seen a few posts where people say it will be emailed to me but it’s been well over an hour since the set-up completed and I have still not been emailed with anything (yes, I checked the usual places)
Commands I ran:
$> doctl kubernetes cluster kubeconfig save MY-CLUSTER
Notice: adding cluster credentials to kubeconfig file found in “/Users/anthonybudd/.kube/config”
Notice: setting current-context to do-sfo2-ideea-prod
$> kubctl get nodes
Please enter Username:
Any help or insights would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×