Interview Prep/Real-World Interview/Kubernetes, GitOps & deployment strategy

How did you handle stateful workloads in Kubernetes, if any?

AdvancedBehavioralKubernetes, GitOps & deployment strategy
Answer

Good answer looks like → "We avoided them for business data and used managed RDS and ElastiCache. The exceptions were Prometheus and a Kafka cluster run with the Strimzi operator, on StatefulSets with gp3 EBS volumes, a StorageClass with volumeBindingMode: WaitForFirstConsumer so volumes were created in the pod's AZ, and backups tested monthly."

Follow-ups to expect → What happens to an EBS-backed pod if its AZ fails? Why an operator?

Red flags → Running a production database in a Deployment with a hostPath volume.

All Real-World Interview questions Roadmap: Interview readiness

More on Kubernetes, GitOps & deployment strategy