A Pod is the smallest deployable unit: one or more containers sharing network and storage. A Deployment keeps a desired number of identical Pods running and handles rolling updates. A Service gives those changing Pods a stable DNS name and load-balances traffic across them.
Full answer with examplesInterview questions / DevOps
Kubernetes Interview Questions
SDETs are rarely Kubernetes admins, but you are expected to understand pods, services and how test environments and grids run on a cluster.
3 questions · 1 beginner· 1 intermediate· 1 advanced
beginner questions
intermediate questions
How would you run automated test suites inside Kubernetes?
intermediate 2–5 yrs
Package the tests as an image and run them as a Kubernetes Job, with config from ConfigMaps and Secrets, resource requests and limits, backoffLimit 0 so failures are not silently retried, and results shipped out as artifacts. For isolation, deploy the app into an ephemeral namespace per pull request.
Full answer with examplesadvanced questions
How would you run and autoscale Selenium Grid on Kubernetes?
advanced 5+ yrs
Deploy Grid 4 in hub-and-node or distributed mode, typically with the official docker-selenium Helm chart. Browser nodes run as pods, and KEDA's Selenium Grid scaler scales them from the session queue, often to zero. Size resources and shared memory, drain nodes after a session, and watch queue time.
Full answer with examples