





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Shift-Left Guardrails
Runtime Observability
3. Control Plane Hardening & API Server Configuration
Essential API Server Flags
apiVersion: v kind: Pod metadata: name: kube-apiserver spec: containers:
apiVersion: apiserver.config.k8s.io/v kind: EncryptionConfiguration resources:
6. Pod Security Standards (PSS) & Admission Control
Namespace Level Enforcement Labeling apiVersion: v kind: Namespace metadata: name: secure-production labels: pod-security.kubernetes.io/enforce: restricted pod-security.kubernetes.io/enforce-version: v1. pod-security.kubernetes.io/audit: restricted pod-security.kubernetes.io/warn: restricted
7. Network Policies & Microsegmentation
Default Deny Ingress & Egress Policy apiVersion: networking.k8s.io/v kind: NetworkPolicy metadata: name: default-deny-all namespace: production spec: podSelector: {} policyTypes:
10. KSPM Open-Source & Commercial Tooling Matrix
11. Running Automated CIS Audits # Run kube-bench inside a cluster pod for automated node posture assessment kubectl apply -f https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job.yaml kubectl logs job/kube-bench
12. Incident Response & Forensic Runbook
Step 1: Isolate Compromised Pod
Step 2: Snapshot Node Storage
Forensic Container Inspection Command
kubectl label pod compromised-pod-xyz quarantine=true --overwrite
cat <