Series: From "Just Put It on a Server" to Production DevOps
Reading time: 18 minutes
Level: Intermediate





The kubectl Apply Problem


Your Kubernetes cluster is running. You update an API deployment:



vim infrastructure/k8s/api.yaml
# Change replicas from 3 to 5

kubectl apply -f infrastructure/k8s/api.yaml






Two weeks later, a...