RBAC: How to limit access on Kubernetes cluster’s namespace.
This post demonstrates basic RBAC authorization for the Kubernetes cluster. We will grant read-only access to cluster resources. The examples here described were tested Kubeadm, but they can be applied to any Kubernetes cluster. Let’s get started. User: testgrp Namespace: default Access: [“get”, “list”, “watch”] resources: [“deployments”, “replicasets”, “pods”, “services”] Create User Credentials.