Daily DevOps Interview Questions Day #67
Daily Interview Questions for SRE and DevOps engineers
Question of the Day:
This just happened the other day… You’ve just deployed a pod (service-a) into your Kubernetes cluster, and it landed on one of your nodes (say, ip-10-0-42-123.us-west-2.compute.internal).
A developer now tells you:
“Hey, I want my pod (service-b) to run on the same node as service-a — for debugging, data locality, or performance testing reasons.”
You have cluster-admin permissions, and you want to do this cleanly — without manually ssh’ing or doing anything hacky.
How would you make sure service-b lands on the exact same node as service-a during deployment?
How do you think a mid level engineer would answer vs a senior level engineer?

