03When do you need a StatefulSet rather than a Deployment, and what does it actually guarantee?▼mediumNewDatabricksSnowflakeUber2 repliesunlockedBoth run pods, so the answer sounds obvious until an interviewer asks what happens when you delete one. The guarantees are narrower and more specific than most candidates think.Open full answer →
58The database StatefulSet needs more CPU and larger volumes with no downtime. Walk me through volume expansion and the restart choreography.▼mediumNewRazorpayPhonePeSnowflake◆ premiumVolumes grow online and never shrink; StatefulSet template changes normally replace pods ordinal by ordinal; supported in-place pod resize is a separate path. The craft is expanding storage first, gating rolls with partition, and letting replication lag set the pace.Open full answer →