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.
More on Kubernetes, GitOps & deployment strategy
Why ArgoCD over Flux in your project?IntermediateHow was your GitOps repository structured?IntermediateHow many clusters did you run, and why?IntermediateWhat deployment strategy did you use and why?IntermediateHow did you set resource requests and limits?IntermediateHow did you expose services to the internet?Beginner