nikhilsuvarna / gke-rbac-walkthrough

A walk through of RBAC on a Google GKE Kubernetes 1.6 cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. gcloud utility installed
    • It must be version 151+. Run gcloud version | grep "Google Cloud SDK" to confirm.
  2. kubectl installed
    • It must be version 1.6+. Run kubectl version to confirm.

Labs

  1. Create a cluster
  2. Create GCP Service Accounts to use for authenticating
  3. Create some namespaces
  4. Create roles and role bindings
  5. Create cluster roles and role bindings
  6. Using Existing Cluster Roles
  7. Accessing the API from a Pod
  8. Cleaning up

About

A walk through of RBAC on a Google GKE Kubernetes 1.6 cluster.

License:Apache License 2.0