gke-rbac-walkthrough
gke-rbac-walkthrough copied to clipboard
A walk through of RBAC on a Google GKE Kubernetes 1.6 cluster.
gke-rbac-walkthrough
This is not an official Google product.
A walk through of RBAC in Kubernetes 1.6 on a Google Container Engine (GKE) cluster.
Prerequisites:
-
gcloud
utility installed- It must be version 151+. Run
gcloud version | grep "Google Cloud SDK"
to confirm.
- It must be version 151+. Run
-
kubectl
installed- It must be version 1.6+. Run
kubectl version
to confirm.
- It must be version 1.6+. Run
Labs
- Create a cluster
- Create GCP Service Accounts to use for authenticating
- Create some namespaces
- Create roles and role bindings
- Create cluster roles and role bindings
- Using Existing Cluster Roles
- Accessing the API from a Pod
- Cleaning up