Loading tutorials
kubectl, and understand that the API server exposes resources and verbs over REST. It builds the working model that the later chapters on Roles, bindings, and service accounts rely on.2 min readkubectl. It covers the "who" half of RBAC: the subjects that permissions are granted to.2 min readrules list that sits inside every Role and ClusterRole.2 min readkubectl. It also assumes you know what pods, namespaces, and secrets are, and that the Kubernetes API is a REST API with resources and verbs. A Role is where RBAC permissions start, so we build one rule at a time.2 min readkubectl, and know what a Role and a subject (user, group, or service acc3 min readapiGroups, resources, verbs) and can apply manifests with kubectl.2 min readkubectl. A ClusterRoleBinding attaches a ClusterRole to subjects across the whole cluster.2 min readkubectl auth can-i does that by asking the API serve2 min readkubectl auth can-i. It covers three checks that stop a user from gaining more access than they were given.2 min readkubectl auth can-i. A Forbidden error means the API server knew who you are (authentication succeeded) but no RBAC rule allows the action (authorization failed). Becau2 min readkubectl auth can-i. It covers how to keep grants small and how to check them over time.3 min read