Greetings for the day sir!! I have been facing errors while generating token. kubectl create clusterrolebinding dashboard-admin -n default --clusterrole=cluster-admin --serviceaccount=kubernetes-dashboard:kubernetes-dashboard kubectl get secret $(kubectl get serviceaccount kubernetes-dashboard -o jsonpath=”{.secrets[0].name}” -n kubernetes-dashboard)-o jsonpath=”{.data.token}” -n kubernetes-dashboard | base64 --decode Error from server (NotFound): secrets "””-o" not found Error from server (NotFound): secrets "jsonpath=”{.data.token}”" not found Please suggest a solution.
nice stuff .. please share also your manual file which have certificate generate command and all.
hope he can share it
Will upload soon
github.com/dubareddy/kubernetes_latest_manifest
Greetings for the day sir!! I have been facing errors while generating token.
kubectl create clusterrolebinding dashboard-admin -n default --clusterrole=cluster-admin --serviceaccount=kubernetes-dashboard:kubernetes-dashboard
kubectl get secret $(kubectl get serviceaccount kubernetes-dashboard -o jsonpath=”{.secrets[0].name}” -n kubernetes-dashboard)-o jsonpath=”{.data.token}” -n kubernetes-dashboard | base64 --decode
Error from server (NotFound): secrets "””-o" not found
Error from server (NotFound): secrets "jsonpath=”{.data.token}”" not found
Please suggest a solution.
github.com/dubareddy/kubernetes_latest_manifest Refer this and let me if it works