HackPath Academy

B3: Cloud, Containers & Kubernetes

Kubernetes Deep: RBAC, Service Accounts, etcd & Admission

Map cluster identity, workloads, secrets, network policy, admission controls, and control-plane data.

Advanced · 35 min

Open the interactive lesson →

Kubernetes security is cluster identity plus workload configuration. The question is always: what can this pod's service account do, what secrets can it read, and what paths exist to the control plane or cloud identity?

AreaWhat to inspectRisk
RBACRoles, ClusterRoles, RoleBindings, ClusterRoleBindingsOverbroad verbs like create pods, exec, secrets read, or bind/escalate.
Service AccountsMounted tokens, cloud workload identity, namespace boundariesPod compromise becomes API access.
SecretsK8s secrets, external secret stores, env varsCredentials leak into workloads or logs.
etcdAccess controls, encryption at rest, network reachabilityCluster state and secrets exposure.
AdmissionPod Security, OPA/Gatekeeper/KyvernoUnsafe workloads admitted by default.

Take the quiz →