Kubernetes Architecture, Operations, and Troubleshooting Questions

How Kubernetes works, how to run it, and how to debug it. Covers control-plane and node components, the scheduler and API server, cluster design, high availability and multi-cluster topologies, and platform-level operations; the workload primitives (pods, deployments, services, controllers), cluster upgrades, and designing Kubernetes as an internal platform; and the operational depth inside a cluster including pod and service networking, ingress and the CNI model, service mesh, persistent volumes and storage classes, resource requests and limits, and systematically diagnosing scheduling, networking, and storage failures. The full architecture-through-day-two-operations span of Kubernetes.

EasyTechnical
54 practiced

Explain the differences between ConfigMap and Secret objects. Show two ways to make a Secret available to a pod (environment variables and mounted files). Discuss basic security considerations for storing secrets and recommended best practices for CI/CD pipelines.

HardTechnical
49 practiced

Describe a comprehensive Kubernetes cluster security strategy covering admission control with OPA Gatekeeper, image signing and verification using sigstore/cosign, network segmentation via NetworkPolicies, Pod Security Standards enforcement, RBAC hardening, secret encryption with KMS, and secrets rotation. Discuss the trade-offs and a gradual rollout plan.

MediumTechnical
56 practiced

Describe secure secrets management strategies for Kubernetes in production. Compare native Kubernetes Secrets (etcd encryption at rest), cloud KMS integration, HashiCorp Vault or ExternalSecrets operators, and sealed-secrets. Discuss key rotation, auditing, mounting practices, and how to avoid secrets leakage in CI/CD pipelines.

HardTechnical
43 practiced

Describe how you would implement admission control with OPA Gatekeeper to deny creation of Pods that either run privileged containers or do not declare resource limits. Provide a concise example (high-level Rego or ConstraintTemplate/Constraint) that validates spec.containers[].securityContext.privileged == false and requires each container to specify resources.limits.cpu and resources.limits.memory. Explain how you'd roll this policy out safely.

MediumTechnical
44 practiced

Explain Kubernetes namespaces and the RBAC model. Clarify the differences between Role and ClusterRole, RoleBinding and ClusterRoleBinding, how ServiceAccounts are used, and common patterns for implementing least-privilege access across multiple teams and environments.

Unlock Full Question Bank

Get access to all 6 Kubernetes Architecture, Operations, and Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.