KatInterview

Platform Engineering Deep Dive: IaC, K8s, Edge OTA, Routing

System DesignModel answer
HardModel answerSystem Designinfrastructure-as-codekubernetesgitops

Last updated

Explain how you would automate bare-metal and Kubernetes delivery, run edge firmware rollouts, reason about IP routing, and describe a homelab that backs up your claims.

You are interviewing for a platform or infrastructure engineering role and are asked to cover the following areas in a single conversation. Aim for a few minutes per area, using concrete tools, failure modes and numbers rather than a list of buzzwords.

  1. Infrastructure as Code. Summarize your hands-on experience. Then present a reference design for provisioning and updating bare-metal servers and Kubernetes clusters through CI/CD. Cover how secrets are handled, how you keep operations idempotent, and how you detect and respond to configuration drift.

  2. Kubernetes control loop and workload management. Explain the reconciliation loop that Kubernetes controllers follow. Then outline how you would manage workloads: scheduling, resource requests and limits, quotas, horizontal and vertical pod autoscaling, cluster autoscaling, and multi-tenancy.

  3. Edge fleet management. Design and operate a system that manages firmware on a large population of edge devices. It should handle over-the-air updates, staged rollouts, rollback, and device health telemetry.

  4. Routing. Explain how an IP routing table is used to forward packets, including longest-prefix match and the difference between static and dynamic routing. Describe how you would troubleshoot a blackhole and asymmetric routing.

  5. Homelab. Describe your own lab setup and what it demonstrates about your automation, networking, observability and security skills.

State your assumed scale at the start, and call out trade-offs and guardrails where they matter.

Hints

Hint 1

Open by fixing a scale (for example, a couple thousand bare-metal nodes, a few dozen clusters, tens of thousands of edge devices) so every later design choice can be justified against it.

Hint 2

For IaC and Kubernetes, think in layers (hardware, OS image, infra resources, clusters, workloads) and note that the same declarative, level-triggered reconcile pattern appears at each layer, including GitOps.

Hint 3

For the fleet and routing parts, structure around safety: signed artifacts, A/B partitions, canary stages with health gates and automatic rollback; and for routing, always start from the forwarding decision (longest prefix wins) and trace hop by hop in both directions.