Pro DevOps with Google Cloud Platform by Pierluigi Riti

Pro DevOps with Google Cloud Platform by Pierluigi Riti

Author:Pierluigi Riti
Language: eng
Format: epub
ISBN: 9781484238974
Publisher: Apress


With the secret created, we want to add our account to the administrative roles of the role-based access control (RBAC) . This gives us the right to manage the cluster. The command for doing that iskubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value account)

The command creates a cluster role binding and adds our actual account to the role of cluster-admin . This gives us the right to manage the Kubernetes cluster. The result of this command shows us the user we have added and the result.pierluigi_riti@practicaldevopsgcpcli:~/practicalgcp-jenkins$ kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value account)

Your active configuration is: [cloudshell-20307]

clusterrolebinding "cluster-admin-binding" created



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.