Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Policy-as-Code with OPA Gatekeeper: Stopping Cloud Waste Before It Deploys

DEV Community·Muskan·27 days ago
#7gsjx4QR
Reading 0:00
15s threshold

Your cloud account has Service Control Policies. Your Terraform pipelines have compliance checks. Your tagging strategy covers 90% of resources. And last Thursday, a developer deployed a pod requesting 64 CPU cores and 256 GB of memory into a dev namespace with no resource quotas. SCPs operate at the cloud API layer. They can prevent someone from launching a p4d.24xlarge instance. They cannot see what happens inside a Kubernetes cluster. Between the cloud guardrails and the running workload, there is an enforcement gap at the Kubernetes admission layer. OPA Gatekeeper fills that gap. The Gap Between Cloud Guardrails and Kubernetes Reality Cloud governance tools work at the infrastructure boundary. AWS SCPs restrict which API calls an account can make. Azure Policy controls which resource types can be created. GCP Organization Policies set constraints on project-level operations. None of them see a Kubernetes pod spec. Inside the cluster, 59% of containers run without CPU limits.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More