While Login in to Kubernetes dashboard it will ask for 2 types of authentication :
1. Kubeconfig file upload
2. Bearer Token
Below is the way to fetch the bearer token using a single line command and paste it on the Login page. It will Login successfully..
kubectl -n kube-system describe secret $(
kubectl -n kube-system get secret | \
awk '/^deployment-controller-token-/{print $1}'
) | \
awk '$1=="token:"{print $2}'
You can find solutions to issues for various UNIX operating systems Cloud and DevOps here. Also this site provides you career guidance to the beginners looking for a career as UNIX/ DevOps Engineers/ Administrator.
Subscribe to:
Post Comments (Atom)
Installing Ingress Controller - Kubernetes
Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...
-
Decommission of LDOM ========================= ldm stop samplepdtestsun08 ldm unbind samplepdtestsun08 ldm destroy samplepdtestsun08 ...
-
There are 2 different ways of doing iSCSI target and initiator configuration. In below example I have done it using "tgtd" on t...
-
root@scw-530499:~# ps -ef |grep -i vault root 14891 14679 0 20:18 pts/3 00:00:01 ./vault server -config=example.hcl root 1514...
No comments:
Post a Comment