Course contentsShow
← Cloud and Infrastructure
Lesson 1379 of 2,98928. Kubernetes SecurityFree lesson

Common RBAC Verbs

Learn standard verbs like get, list, watch, create, update, patch, delete, and deletecollection.

Common RBAC Verbs

What you'll learn: You'll understand the standard action verbs used in Kubernetes RBAC rules to define what operations subjects can perform on resources.


When you define permissions in RBAC rules (like we covered in "Defining Permissions with Rules"), you specify verbs — the actions a subject is allowed to take. Think of verbs as the permission vocabulary that Kubernetes understands, similar to how file systems use "read," "write," and "execute."

The Core RBAC Verbs

Here are the standard verbs you'll use most often:

  • get — Retrieve a single named resource (like viewing one specific Pod)
  • list — Retrieve all resources of a type (like viewing all Pods in a namespace)
  • watch — Stream updates about resources in real-time (essential for controllers and monitoring tools)
  • create — Make new resources
  • update — Modify an existing resource by replacing it entirely
  • patch — Modify specific fields of an existing resource (more surgical than update)
  • delete — Remove a single resource
  • deletecollection — Remove multiple resources at once (like deleting all Pods matching a label)

Why Granularity Matters

Notice how there are three different "read" verbs (get, list, watch)? This granularity lets you create precise permissions. For example, you might allow someone to get individual Secrets by name (if they know it exists) but not list all Secrets (preventing discovery).

Similarly, patch is safer than update in some scenarios — it only changes what's specified rather than replacing the entire object, reducing the risk of accidental data loss.

Key Takeaway:
RBAC verbs like get, list, watch, create, update, patch, delete, and deletecollection are the building blocks of permissions in Kubernetes, allowing fine-grained control over what actions subjects can perform on resources.