Skip to content
tezvyn:

Docker & Kubernetes

Containers, Helm, orchestration, service mesh

144 bites

Test yourself: Top 30 Docker & Kubernetes interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Interview questions in Docker & Kubernetes, page 7

intermediate1 min read

The reconciliation loop in an Operator

Reconcile compares desired spec to observed state and converges them, idempotently; triggered by resource changes, watched dependents, and periodic resync.

intermediate1 min read

Finalizers for clean external cleanup

A finalizer is a key blocking deletion; deletion sets deletionTimestamp, the operator does cleanup then removes the finalizer so the object is purged.

intermediate1 min read

Adding a required field to a live CRD

Don't make it required immediately; add it optional with a default, introduce a new version with conversion, migrate existing objects, then tighten.

intermediate1 min read

When to build an Operator vs a Helm chart

Charts handle install-time templating; operators add continuous day-two logic like failover, backups, and scaling for stateful apps.

advanced2 min read

Keeping operator .status accurate under failures

Status can lag or go stale during partitions and crashes; make reconcile idempotent, observe true state each loop, use conditions and observedGeneration, handle conflicts.

advanced1 min read

Mutating vs Validating webhooks with an Operator

Mutating runs first to inject defaults or sidecars, validating runs after to reject bad specs, both keyed to your CRD.

advanced1 min read

Preventing split-brain in HA Operators

Run active-passive replicas, only the leader reconciles, election uses a Lease object renewed under a TTL.

easy1 min read

What a service mesh solves

It adds traffic management, security via mTLS, and observability at the network layer through sidecars, beyond what plain Kubernetes offers.

easy1 min read

The sidecar proxy pattern in a mesh

A proxy container shares the pod, all in/out traffic is redirected through it, so policy and telemetry apply without code changes.

intermediate1 min read

Canary release with Istio traffic splitting

DestinationRule defines subsets by label, VirtualService routes weighted 90/10 to those subsets, then shift weights as the canary proves healthy.

intermediate1 min read

How a service mesh enables automatic mTLS

The control plane issues short-lived workload certificates, sidecars present them, both sides verify identity and encrypt the channel.

intermediate1 min read

Retries and circuit breaking in a mesh

Configure bounded retries with timeouts for transient errors, and a circuit breaker via outlier detection plus connection-pool limits to shed load from a failing dependency.

advanced2 min read

Diagnosing latency with distributed tracing

Follow the trace ID across spans, compare per-span durations to find the slow hop, distinguish service time from network and queueing.

advanced2 min read

Method-aware authorization with Istio policy

An ALLOW policy on user-service granting frontend's principal POST plus the users path, another granting all principals GET; deny is implicit once any ALLOW exists.

intermediate2 min read

Guardrails for GitOps sync outages

Pre-merge schema validation, dry-run, policy gates and review; post-merge progressive sync, health checks with automated rollback, and pruning controls.

intermediate2 min read

Istio Gateway vs Kubernetes Ingress

Ingress is a simple built-in L7 entry abstraction; an Istio Gateway configures only ports and hosts at the edge while VirtualServices do routing, unlocking mesh features.

intermediate2 min read

What makes a process a container to the kernel

Namespaces isolate and cgroups limit, but also capabilities, seccomp filters, mount/pivot_root for the rootfs, and SELinux/AppArmor labels.

intermediate2 min read

Container registries: public vs private

A registry stores and serves versioned image layers by digest; public registries are open and rate-limited, private ones add access control, scanning, signing and network isolation.

intermediate2 min read

Impact of losing etcd quorum

Without quorum etcd goes read-only-ish and the API server cannot persist writes, so scheduling and changes stall, but kubelets keep running existing pods.

intermediate2 min read

Scaling on queue length with the HPA

Expose queue length through an external metrics adapter behind the metrics API, point the HPA at that external metric with a target per pod; KEDA packages this.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles