Vibe DevOps vs Production: The Kubernetes Iceberg
Originally published on Naveed Ahmed's Engineering Blog.
You've heard of vibe coding. Describe what you want, let AI generate it, and keep prompting until the application runs. Now imagine applying that same approach to infrastructure. "Write a Dockerfile." "Create a Kubernetes Deployment." "Generate a Terraform module." Everything looks good in a local test. But then production traffic arrives.
Welcome to what I call Vibe DevOps.
The DevOps Iceberg
At the surface, DevOps looks like a collection of tools:
- Git
- Docker
- Kubernetes
- Terraform
- AWS or another cloud provider
Below the surface, things get more complicated:
| Tutorial experience | Production responsibility |
|---|---|
docker build succeeds |
Images are reproducible, secure, and resource-efficient |
| Kubernetes Pods are Running | Services survive real traffic and node failures |
terraform apply works |
Remote state, drift, blast radius, and approvals are managed |
| Grafana dashboard loads | Alerts reflect user impact and meaningful SLOs |
| Database container starts | Backups, connection pools, replication, and recovery are tested |
Scenario 1: The Pods That Couldn't Get IP Addresses
Imagine an autoscaling event. The Horizontal Pod Autoscaler requests additional replicas. Node CPU isn't the problem. Yet new Pods fail during sandbox creation because the CNI cannot allocate IP addresses.
In an AWS EKS environment, subnet sizing and the VPC CNI's IP allocation behavior can become the limiting factor.
Start with:
kubectl get pods -A --field-selector=status.phase=Pending
Inspect an affected Pod:
kubectl describe pod <pod-name> -n <namespace>
Check the events for sandbox creation, CNI, and IP allocation errors.
The lesson: adding CPU capacity doesn't automatically create network capacity.
Scenario 2: Green Readiness, Broken Checkout
Your application starts successfully. The readiness endpoint returns HTTP 200. But actual customer requests time out. The problem may be an exhausted database connection pool, a slow query, or an overloaded dependency.
A process-level health check won't necessarily detect these failures. You need application metrics such as:
- Request failure rate
- P95 and P99 latency
- Database connection saturation
- Queue age and consumer lag
- Error-budget burn rate
Readiness is necessary, but it isn't a complete definition of service health.
Scenario 3: The Certificate Nobody Was Watching
The public TLS certificate is valid. But an internal service-to-service connection starts failing. The cause might be an expired intermediate certificate, an internal CA issue, or a failed certificate renewal.
A Kubernetes dashboard full of green Pods won't tell you that a trust chain has broken. Check the actual TLS path, certificate chain, renewal controllers, and relevant RBAC permissions.
The AI Infrastructure Problem
AI can be useful for generating first drafts of Kubernetes YAML, Dockerfiles, CI/CD workflows, and Terraform. But a generated configuration might still contain:
- Excessive IAM permissions
- Mutable container tags
- Missing resource requests
- Unreviewed infrastructure replacements
- Weak secret handling
- No monitoring or rollback strategy
The solution isn't to avoid AI. It's to use AI output as a proposed change that still needs testing, review, and approval.
A Small Production Audit
On a cluster you administer, start with read-only checks:
kubectl get pdb,networkpolicy,hpa -A
Review recent warning events:
kubectl get events -A \
--field-selector type=Warning
Inspect Terraform changes in the relevant workspace:
terraform plan
A list of resources doesn't prove policies are effective, and an infrastructure plan still requires careful review. These checks are starting points, not a complete production certification.
Read the Full Guide
My complete article goes deeper into the layers beneath the DevOps iceberg: CI/CD, IaC, GitOps, networking, RBAC, databases, observability, scalability, disaster recovery, and FinOps. It also includes three illustrative 3 AM incident scenarios and a 30-60-90-day learning roadmap.
Read Vibe DevOps vs Production DevOps Reality
What's a production failure that looked impossible until it happened?
Written by Naveed Ahmed - DevOps & Platform Engineering
Comments
No comments yet. Start the discussion.