All questions
Showing of 50What is Kubernetes and why is it needed?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Kubernetes is an open-source container orchestration platform that automates deploying, scaling and managing containerized applications. Google originally developed it, and the Cloud Native Computing Foundation (CNCF) now maintains it.
It is needed because managing hundreds or thousands of containers by hand is impractical. Kubernetes does that work for you:
- It restarts failed containers and replaces unhealthy instances, which keeps applications highly available.
- It scales applications with demand and spreads traffic across the instances.
- It packs containers onto nodes by their resource requests, which leaves less capacity sitting idle.
- Its rolling updates let a new version go out with zero downtime.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is a Pod and why is it the smallest deployable unit?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
A Pod is the smallest and simplest Kubernetes unit: one or more containers that share a network namespace and storage. It is the smallest deployable unit because the scheduler places Pods, not containers, and the IP address belongs to the Pod.
Its containers:
- share one IP address and port space, and reach each other on
localhost - can mount the same volumes
- are scheduled together onto the same node
- start and stop together as an atomic unit
That suits tightly coupled containers, such as an app and its log shipper.
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: web-container
image: nginx:1.20
ports:
- containerPort: 80
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is the difference between a Pod and a Container?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
A container runs one application process, while a Pod is the Kubernetes unit that wraps one or more containers with shared networking and storage.
A container is an isolated process, created from a container image, with its own filesystem and resource limits. Outside Kubernetes it also gets its own network stack. Kubernetes never schedules a container on its own, though. It schedules Pods, the smallest deployable unit.
Inside a Pod, the containers share one IP address and port space and can mount the same volumes. That lets a sidecar, a helper such as a log shipper or proxy, run next to the main container and reach it over localhost.
The usual Pod holds one container. Extra containers join it only when they must run and scale together.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is a Deployment and how does it differ from a Pod?
What is kubectl and what are some common commands?
What are Labels and Selectors?
What is the difference between ReplicaSet and Deployment?
What is Helm and why is it used in Kubernetes environments?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Helm is the package manager for Kubernetes, much as apt is for Ubuntu or npm is for Node.js. It bundles an application's Kubernetes manifests into a reusable package called a chart.
One application needs many YAML files that differ per environment, and Helm manages them as one unit.
- Charts use Go templates, so one chart takes different values for dev, staging and production.
- Each install is a release with a stored history, so you can upgrade, roll back or uninstall it as one unit.
- A chart declares the charts it depends on, such as a database, and Helm installs them together.
- Charts are versioned and shared through repositories, so an application is portable across clusters and environments.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What are the main components of Helm?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Helm has three concepts, charts, releases and repositories, plus one client, the helm CLI:
- The Helm client handles chart development, repository management and release operations. It talks directly to the Kubernetes API server.
- A chart is a package of manifest templates, metadata and default values, stored locally or in a repository.
- A release is one deployed instance of a chart, with its own name and values. Helm keeps its history for upgrades and rollbacks.
- A repository stores and shares charts. It can be public or private, and Artifact Hub lists charts from many public ones.
Installing one chart twice creates two separate releases.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What is a Helm Chart and what does it contain?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
A Helm chart is a package containing all the resource definitions needed to run an application on Kubernetes, written as templates plus default values.
mychart/
Chart.yaml # Chart metadata
values.yaml # Default configuration values
charts/ # Dependency charts
templates/ # Kubernetes manifest templates
deployment.yaml
service.yaml
ingress.yaml
_helpers.tpl # Template helpers
.helmignore # Files to ignore during packaging
Chart.yamlholds the chart's name, version and description, and it lists the chart's dependencies.values.yamlholds the defaults the templates render with.templates/holds the Kubernetes manifest templates.charts/holds the charts this one depends on.- A
README.md, when present, documents how to use the chart.
Charts are portable and reusable across environments, because you set the configuration through values.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How do you override default values in Helm charts?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
You pass your own values with --set flags or values files at install or upgrade time. Helm merges them over the chart's defaults in a fixed order of precedence, highest first:
--seton the command line wins over everything.- A custom values file passed with
--values, or its short form-f. - When you pass several
-ffiles, a later file overrides an earlier one. - The chart's own
values.yamlsupplies the defaults and has the lowest precedence.
helm install myapp ./mychart --set replicaCount=5 --set image.tag=2.0
helm install myapp ./mychart --values custom-values.yaml
helm install myapp ./mychart -f values.yaml -f production-values.yaml
A custom values file only needs the keys you want to change:
replicaCount: 3
image:
repository: myapp
tag: "v2.1.0"
service:
type: LoadBalancer
resources:
limits:
memory: "512Mi"
cpu: "500m"
Helm merges maps deeply, so setting image.tag keeps the default image.repository. Arrays are replaced whole, so to change one item you pass the full list.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
Explain the difference between helm install, helm upgrade, and helm rollback.
How do you manage Helm repositories and what are the common commands?
Explain ConfigMaps and Secrets. When would you use each?
What is an Ingress and how does it differ from a Service?
What are Jobs and CronJobs?
Explain the difference between Helm 2 and Helm 3.
How does Helm interact with the Kubernetes API server?
Explain Helm templating and provide a simple example.
What are Helm template functions and give examples of commonly used ones?
What is the purpose of _helpers.tpl in Helm charts?
What are global values in Helm and when would you use them?
How do you validate values in Helm charts?
What is the purpose of helm template and when would you use it?
How do you manage Helm release history and what commands are useful for this?
What is helm test and how do you implement tests in Helm charts?
How do you create and publish your own Helm repository?
What is ChartMuseum and how does it help with private Helm repositories?
What are the security considerations when using Helm?
How do you handle secrets in Helm charts securely?
How do you debug Helm deployment issues?
What are common Helm errors and how do you resolve them?
How do you recover from a failed Helm upgrade?
What is the Kubernetes Gateway API, and how is it different from Ingress?
What is a Pod Disruption Budget and when do you need one?
How do service discovery and DNS work in Kubernetes?
What are native sidecar containers, and what problem do they solve?
How do you set up Kubernetes logging?
What are Taints and Tolerations?
Explain Kubernetes API Groups and Versions
How do you implement Blue-Green deployments in Kubernetes?
What are Helm hooks and provide examples of their usage?
How does the Kubernetes scheduler work?
What are the security best practices for Kubernetes?
What are Helm chart best practices for production environments?
How do you implement chart dependencies and subcharts?
What are library charts and how do you create them?
How do you implement blue-green deployments with Helm?
What happens internally when you run kubectl apply?
How do you implement high availability in Kubernetes?
This answer is part of Pro.
The full written answer, with the trade-offs and follow-ups an interviewer will probe.
No matches
Try a different filter or search term.
Kubernetes cheatsheet
- Core Concepts01
- kubectl Essential Commands02
- Pod Management03
- Deployments & ReplicaSets04
- Services & Networking05
- Storage06
- ConfigMaps & Secrets07
- Security08
- Resource Management09
- Monitoring & Logging10
- Troubleshooting11
- Cluster Maintenance12
- + 3 more inside
- + 9 more inside
43 of 50 Kubernetes answers are in Pro.
Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.
- Full answers + code
- AI explanations, simpler or deeper
- 1,000 AI credits / month
- Cancel anytime
Change topic
Pick a different technology or stack. Your current topic stays put until you choose a new one.
MEAN
MongoDB, Express, Angular, Node.jsMERN
MongoDB, Express, React, Node.jsDjango
Python Full-Stack DevelopmentRuby on Rails
Convention over ConfigurationServerless on AWS
Serverless Architecture on AWSInterviewers also test these - they're common to every stack, whichever one you picked above.
Flutter Mobile
Flutter Cross-Platform Mobile DevelopmentInterviewers also test these - they're common to every stack, whichever one you picked above.
Spring Boot
Enterprise Java Development.NET
Microsoft EcosystemVue
Vue.js, Vite, TypeScript, Tailwind, Node.jsGo Backend
Golang, gRPC, PostgreSQL, Redis, RabbitMQInterviewers also test these - they're common to every stack, whichever one you picked above.
FastAPI
Python, FastAPI, SQLAlchemy, PostgreSQLReact Native
React, TypeScript, Redux, FirebaseiOS Native
Swift, SwiftUI, UIKit, FirebaseAndroid Native
Java, Jetpack Compose, FirebaseDevOps / Platform
Docker, Kubernetes, Terraform, CI/CDInterviewers also test these - they're common to every stack, whichever one you picked above.
AI Engineer
LLMs, RAG, Agents, EvalsAI-Powered Developer
Claude Code, Copilot, Agentic WorkflowsCore SWE Interview Prep
Data structures, algorithms, OS, concurrency, networking, gitInterviewers also test these - they're common to every stack, whichever one you picked above.
Interviewers also test these - they're common to every stack, whichever one you picked above.