Kubernetes Interview Prep for Banking Support and Platform Roles

·

·

Reading time:

3 minutes

Banks increasingly run trading, risk and client-facing services on Kubernetes, often on OpenShift or a managed cloud service (EKS, AKS, GKE). For support and SRE roles, interviews focus less on building clusters and more on keeping workloads healthy and troubleshooting fast.

Architecture questions

1. Describe the main components of a cluster.

Control plane: API server (front door), etcd (cluster state), scheduler (places pods), controller manager (reconciles desired state). Worker nodes: kubelet (runs pods), kube-proxy (service networking) and a container runtime such as containerd.

2. Pod, Deployment, StatefulSet, DaemonSet: when do you use each?

  • Pod: smallest unit, one or more containers sharing network and storage.
  • Deployment: stateless apps with rolling updates (APIs, pricing services).
  • StatefulSet: stable identity and storage (databases, Kafka, caches).
  • DaemonSet: one pod per node (log shippers, monitoring agents such as Dynatrace OneAgent).

3. Service types?

ClusterIP (internal only, default), NodePort (port on every node), LoadBalancer (cloud load balancer). An Ingress (or OpenShift Route) handles HTTP routing and TLS in front of services.

4. ConfigMap versus Secret?

Both inject configuration. Secrets are for sensitive data, but are only base64-encoded by default. Mention encryption at rest and external secret stores (Vault, CyberArk) for a bank-grade answer.

5. Liveness versus readiness probes?

A failing liveness probe restarts the container. A failing readiness probe removes the pod from service endpoints without restarting it, which is ideal while an app warms its cache or reconnects to a market data feed. A startup probe protects slow-starting apps.

6. Requests versus limits?

Requests are what the scheduler reserves; limits are the hard ceiling. Exceeding a memory limit gets the container OOMKilled; exceeding a CPU limit causes throttling, which shows up as latency, a serious problem for low-latency trading services.

Troubleshooting questions

7. A pod is in CrashLoopBackOff. Walk me through it.

kubectl get pods -n trading
kubectl describe pod <pod> -n trading        # events, exit code, OOMKilled?
kubectl logs <pod> -n trading --previous     # logs from the crashed run
kubectl get events -n trading --sort-by=.lastTimestamp

Common causes: bad config or missing Secret, failing liveness probe, out of memory, dependency unavailable at startup.

8. A pod is stuck in Pending.

The scheduler cannot place it. kubectl describe pod shows why: insufficient CPU or memory, node selector or affinity mismatch, taints without tolerations, or an unbound PersistentVolumeClaim.

9. ImagePullBackOff?

Wrong image name or tag, missing imagePullSecret for the internal registry, or the node cannot reach the registry through the proxy.

10. A service is up but returns no responses.

Check kubectl get endpoints <svc>. Empty endpoints usually mean the service selector does not match pod labels, or pods are not ready. Then check NetworkPolicies, which are common in segmented bank clusters.

Releases and resilience

11. How do you roll out and roll back a release?

kubectl set image deploy/pricing pricing=registry/pricing:2.4.1 -n trading
kubectl rollout status deploy/pricing -n trading
kubectl rollout undo deploy/pricing -n trading

In practice, changes go through GitOps (Argo CD or Flux) or Helm in a pipeline, with an approved change record. Mention blue-green or canary releases for critical services.

12. How do you keep a service available during node maintenance?

Multiple replicas spread across nodes or zones (pod anti-affinity), a PodDisruptionBudget so draining never takes all replicas down, and a HorizontalPodAutoscaler for load spikes such as market open.

Final tips

  • Practise on a local cluster (kind, minikube or k3d) until the troubleshooting commands are second nature.
  • If the bank uses OpenShift, know oc, Routes, and that pods run as random non-root UIDs by default.
  • Tie answers to business impact: “a failing readiness probe during market open means traders see stale prices”.

Rakesh Kadukutty

Senior Production Support Engineer in London with 10+ years supporting Fixed Income and FX trading systems at BNP Paribas and Tradeweb.

About LinkedIn

Get the daily brief

One fintech story every morning, with the interview angle. Free, straight to your inbox.