Skip to content

Latest commit

 

History

History
executable file
·
54 lines (32 loc) · 1.11 KB

File metadata and controls

executable file
·
54 lines (32 loc) · 1.11 KB

Authorization

In this section, we will take a look at Authorization.

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

  • The mode options can be defined on the kube-apiserver

    mode

  • When you specify multiple modes, it will authorize in the order in which it is specified

    mode1

K8s Reference Docs