Kubernetes Security Essentials
Overview
The 4Cs of Cloud Native Security
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Code (application vulnerabilities) β
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Container (image vulnerabilities, base images) β β
β β β β
β β ββββββββββββββββββββββββββββββββββββββββββββββ β β
β β β Cluster (RBAC, PSS, network policies) β β β
β β β β β β
β β β ββββββββββββββββββββββββββββββββββββββββ β β β
β β β β Cloud (IAM, VPC, node security) β β β β
β β β ββββββββββββββββββββββββββββββββββββββββ β β β
β β ββββββββββββββββββββββββββββββββββββββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββRole-Based Access Control (RBAC)
Core RBAC Objects
Object
Scope
Purpose
Least Privilege Example
Service Account Security
Pod Security Standards (PSS)
Profile
Use Case
Key Restrictions
Enforcing PSS via Namespace Labels
What restricted Profile Requires
restricted Profile RequiresSecrets Management
Encryption at Rest
External Secrets Operator
Admission Webhooks for Security
Node Security
Control
Implementation
Security Scanning
Tool
Scans
Notes
Key Takeaways
Further Reading
Last updated