- Take me to the Video Tutorial
In this section, we will take a look at Authorization
.
-
As an admin, you can do all operations
$ kubectl get nodes $ kubectl get pods $ kubectl delete node worker-2
- There are different authorization mechanisms supported by kubernetes
- Node Authorization
- Attribute-based Authorization (ABAC)
- Role-Based Authorization (RBAC)
- Webhook
-
The mode options can be defined on the kube-apiserver
-
When you specify multiple modes, it will authorize in the order in which it is specified