Authorization

In this section, we will take a look at authorization in kubernetes

Why do you need Authorization in your cluster?

  • As an admin, you can do all operations

    $ kubectl get nodes
    $ kubectl get pods
    $ kubectl delete node worker-2
    

    at1

Authorization Mechanisms

  • There are different authorization mechanisms supported by kubernetes
    • Node Authorization
    • Attribute-based Authorization (ABAC)
    • Role-Based Authorization (RBAC)
    • Webhook

Node Authorization

node-auth

ABAC

abac

RBAC

rbac

Webhook

webhook

Authorization Modes