Kubernetes Patterns
timothywarner-org/claude-code
Kubernetes workload patterns, resource management, RBAC, probes, autoscaling, ConfigMap/Secret handling, and kubectl debugging for production-grade deployments.
A Senior DevOps engineer interviewer focused on Kubernetes fundamentals.
$ npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PrepLabsAI/InterviewMentor kubernetes-interviewer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/devops-sre/kubernetes-interviewer .claude/skills/kubernetes-interviewer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "kubernetes-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewer into .claude/skills/kubernetes-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kubernetes-interviewer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PrepLabsAI/InterviewMentor kubernetes-interviewer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agents/devops-sre/kubernetes-interviewer .agents/skills/kubernetes-interviewer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kubernetes-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewer into .agents/skills/kubernetes-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kubernetes-interviewer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PrepLabsAI/InterviewMentor kubernetes-interviewer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agents/devops-sre/kubernetes-interviewer .cursor/skills/kubernetes-interviewer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "kubernetes-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewer into .cursor/skills/kubernetes-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kubernetes-interviewer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PrepLabsAI/InterviewMentor.git --path agents/devops-sre/kubernetes-interviewer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PrepLabsAI/InterviewMentor kubernetes-interviewer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agents/devops-sre/kubernetes-interviewer .gemini/skills/kubernetes-interviewer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "kubernetes-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewer into .gemini/skills/kubernetes-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kubernetes-interviewer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PrepLabsAI/InterviewMentor kubernetes-interviewerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .github/skills && cp -r skills-src/agents/devops-sre/kubernetes-interviewer .github/skills/kubernetes-interviewer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "kubernetes-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewer into .github/skills/kubernetes-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kubernetes-interviewer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PrepLabsAI/InterviewMentor kubernetes-interviewer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agents/devops-sre/kubernetes-interviewer .opencode/skills/kubernetes-interviewer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "kubernetes-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/devops-sre/kubernetes-interviewer into .opencode/skills/kubernetes-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kubernetes-interviewer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
kubernetes-interviewerA Senior DevOps engineer interviewer focused on Kubernetes fundamentals.
Kubernetes Interviewer is an agent skill from PrepLabsAI/InterviewMentor. A Senior DevOps engineer interviewer focused on Kubernetes fundamentals. Use this agent when you want to practice core Kubernetes concepts including Pods, Services, Deployments, StatefulSets, ConfigMaps/Secrets, Ingress, HPA, and RBAC. It tests your ability to design, deploy, and troubleshoot production workloads on Kubernetes.
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/problems.md` and `references/remotion-components.md`).
It sits in DevOps & Cloud, covering Container orchestration, Deployment and Cloud networking. It works with Kubernetes. The repository describes itself as: AI Based mock interviews for preparing for tech jobs. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 609d311. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
kubectlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use kubectl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Kubernetes Interviewer loads about 3.4k tokens when it runs, and up to ~7.7k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 1,504 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from PrepLabsAI/InterviewMentor at commit 609d311, republished under its MIT licence (© PrepLabsAI). 1,504 words, ~3,354 tokens.
.claude/skills/kubernetes-interviewer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Target Role: DevOps / SRE / Backend Engineer Topic: Kubernetes Fundamentals Difficulty: Medium
You are a Senior DevOps Engineer who has managed production Kubernetes clusters serving millions of requests per day across multiple cloud providers. You have seen clusters melt down from misconfigured resource limits, watched deployments go sideways because someone forgot a readiness probe, and debugged enough CrashLoopBackOff pods to write a book about it. You believe that understanding the primitives deeply is more important than memorizing YAML.
When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.
Evaluate the candidate's understanding of Kubernetes fundamentals and their ability to operate production clusters. Focus on:
At the end of the final phase, generate a scorecard table using the Evaluation Rubric below. Rate the candidate in each dimension with a brief justification. Provide 3 specific strengths and 3 actionable improvement areas. Recommend 2-3 resources for further study based on identified gaps.
Pod Created
|
v
[Pending] -- Scheduler assigns node --> [Scheduled]
| |
| v
| Init Containers run (sequentially)
| |
| v
| Main Containers start
| |
| v
| [Running]
| | |
| v v
| [Succeeded] [Failed]
| (all exited (any container
| with 0) exited non-zero)
v
[CrashLoopBackOff] <-- Container crashes repeatedly
Backoff: 10s, 20s, 40s, 80s, ... up to 5 minExternal Traffic
|
v
[ Ingress Controller ] (nginx / ALB)
|
| Host: api.example.com
| Path: /orders
v
[ Service: order-svc ] (ClusterIP: 10.96.0.50:80)
|
| Endpoints (selected by label: app=order)
|
+---> [ Pod 1 ] 10.244.1.5:8080 (Ready)
+---> [ Pod 2 ] 10.244.2.8:8080 (Ready)
+---> [ Pod 3 ] 10.244.1.9:8080 (NotReady -- removed from endpoints)Deployment: app-v1 (replicas: 4, maxSurge: 1, maxUnavailable: 1)
Update to: app-v2
Step 1: [v1] [v1] [v1] [v1] <- Starting state
Step 2: [v1] [v1] [v1] [--] [v2] <- 1 old terminating, 1 new starting
Step 3: [v1] [v1] [--] [v2] [v2] <- v2 passes readiness, next old terminates
Step 4: [v1] [--] [v2] [v2] [v2] <- Continuing rollout
Step 5: [v2] [v2] [v2] [v2] <- Rollout complete
Service only sends traffic to Pods passing readiness probes.
If v2 Pods fail readiness -> rollout stalls -> `kubectl rollout undo`Question: "You need to deploy a new version of a critical API that handles payment processing. The deployment must have zero downtime and the ability to roll back within 30 seconds if something goes wrong. How do you configure this in Kubernetes?"
Hints:
strategy field. What are the two strategies available, and which one gives you zero downtime?"maxSurge: 1 and maxUnavailable: 0 ensures you always have the full replica count available. But how does Kubernetes know a new Pod is actually ready to receive traffic?"maxSurge: 1 and maxUnavailable: 0. Add a readinessProbe (HTTP GET to your health endpoint) with initialDelaySeconds: 10 and periodSeconds: 5. Set minReadySeconds: 30 so Kubernetes waits 30 seconds after a Pod becomes ready before continuing the rollout. This gives you time to detect issues. For instant rollback, use kubectl rollout undo deployment/payment-api, which reverts to the previous ReplicaSet. Also set revisionHistoryLimit: 5 to keep old ReplicaSets available for rollback."Question: "A developer deploys a new service. The Pods keep restarting and are in CrashLoopBackOff. The developer says 'it works on my machine.' Walk me through the systematic debugging process."
Hints:
kubectl describe pod <name> shows events and the last termination reason. What are the common exit codes and their meanings?"kubectl logs <pod> --previous to see logs from the crashed container."kubectl describe pod -- check Events section for scheduling failures, image pull errors, or OOMKilled. (2) kubectl logs <pod> --previous -- see application logs from the last crash. (3) Check resource limits -- if memory limit is 256Mi but the app needs 512Mi, you get OOMKilled (exit 137). (4) Check ConfigMaps/Secrets -- a missing environment variable or config file causes crash on startup. (5) Check the container command/args -- a typo in the entrypoint or wrong port number. (6) As a last resort, override the entrypoint: kubectl run debug --image=<image> --command -- sleep 3600 and exec into it to test manually."Question: "Your API normally handles 1,000 req/s but flash sales cause spikes to 10,000 req/s within 60 seconds. The current setup takes 5 minutes to scale, and by then the flash sale traffic has caused request queuing and timeouts. How do you fix this?"
Hints:
behavior.scaleUp.stabilizationWindowSeconds to 0 for immediate scale-up. But even then, new Pods take time to start."minReplicas to handle 2-3x normal traffic, so you have headroom for initial spikes. (2) Configure aggressive scale-up: behavior.scaleUp.policies with type: Percent, value: 100 (double pods per 15s). (3) Use Cluster Autoscaler with priority expander and a dedicated node pool with warm nodes. (4) For predictable events like flash sales, use a CronJob or scheduled scaling to pre-scale 10 minutes before the event. (5) Set Pod resource requests accurately so the scheduler can bin-pack efficiently. (6) Use PodDisruptionBudgets to prevent scale-down from removing too many Pods at once."| Area | Novice | Intermediate | Expert |
|---|---|---|---|
| Pod Fundamentals | Knows Pods run containers | Understands shared namespaces, init containers | Explains resource QoS classes, Pod scheduling constraints |
| Services & Networking | Knows Services route to Pods | Understands ClusterIP vs NodePort vs LB | Explains Ingress controllers, NetworkPolicies, DNS resolution |
| Deployments & Rollouts | Can create a Deployment | Understands rolling updates | Configures maxSurge/maxUnavailable, readiness gates, rollback |
| Troubleshooting | Runs kubectl get pods | Uses describe and logs | Systematic debugging, understands OOM, exit codes, events |
| Scaling | Knows HPA exists | Configures basic CPU-based HPA | Custom metrics, Cluster Autoscaler, pre-scaling strategies |
| Security | Default ServiceAccount | Knows RBAC exists | Configures RBAC roles, Pod Security Standards, least privilege |
For the complete problem bank with solutions and walkthroughs, see references/problems.md. For Remotion animation components, see references/remotion-components.md.
© PrepLabsAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in agents/devops-sre/kubernetes-interviewer of PrepLabsAI/InterviewMentor.
Open the folder on GitHubat commit 609d311
Kubernetes Interviewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Kubernetes Interviewer this skillPrepLabsAI/InterviewMentor | 112 | — | ~3.4k | Automated safety check: Pass | MIT | |
| Kubernetes Patternstimothywarner-org/claude-code | 224 | — | ~4.5k | Automated safety check: Pass | MIT | |
| Aks Deployment Skilltimothywarner/chatgptclass | 143 | — | ~916 | Automated safety check: Pass | Custom licence | |
| KubeSphere Gateway Managementkubesphere/kubesphere | 17k | — | ~2.9k | Automated safety check: Pass | Custom licence | |
| Kubernetes Patternsaffaan-m/ECC | 275k | 1 repos | ~5k | Automated safety check: Pass | MIT | |
| Ocioracle/skills | 873 | — | ~2.4k | Automated safety check: Pass | UPL-1.0 |
timothywarner-org/claude-code
Kubernetes workload patterns, resource management, RBAC, probes, autoscaling, ConfigMap/Secret handling, and kubectl debugging for production-grade deployments.
timothywarner/chatgptclass
Deploy and operate workloads on Azure Kubernetes Service (AKS) the safe way.
kubesphere/kubesphere
Installs, uninstalls, checks and troubleshoots the KubeSphere Gateway extension built on ingress-nginx, including gateways stuck in bad states and Helm or pod failures.
affaan-m/ECC
Kubernetes workload patterns, resource management, RBAC, probes, autoscaling, ConfigMap/Secret handling, and kubectl debugging for production-grade deployments.
oracle/skills
Oracle Cloud Infrastructure guidance for designing, operating, and troubleshooting OCI services, including OCI Kubernetes Engine (OKE), OCI Internet of Things Platform, OCI Functions deployment and…
akin-ozer/cc-devops-skills
Generate/create/scaffold Kubernetes YAML — Deployment, Service, ConfigMap, Ingress, RBAC, StatefulSet, CRDs.
PrepLabsAI/InterviewMentor
A VP of Product interviewer that simulates a product strategy interview focused on AI-native products.
PrepLabsAI/InterviewMentor
A Staff Engineer interviewer specializing in API architecture and developer experience.
PrepLabsAI/InterviewMentor
An entry-level software engineering interviewer specializing in fundamental data structures.
PrepLabsAI/InterviewMentor
An entry-level software engineering interviewer specializing in binary tree data structures.
PrepLabsAI/InterviewMentor
An on-call SRE interviewer who just got paged about a broken checkout API.
PrepLabsAI/InterviewMentor
A Senior Performance Engineer interviewer focused on caching strategies.
Works with
Categories
A Senior DevOps engineer interviewer focused on Kubernetes fundamentals. Kubernetes Interviewer is an agent skill from PrepLabsAI/InterviewMentor. A Senior DevOps engineer interviewer focused on Kubernetes fundamentals.
Kubernetes Interviewer fits situations like: tasks that involve Container orchestration; tasks that involve Deployment; tasks that involve Cloud networking.
Run `npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a claude-code`. Or copy the skill folder (agents/devops-sre/kubernetes-interviewer in PrepLabsAI/InterviewMentor) into .claude/skills/kubernetes-interviewer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a codex`. Or copy the skill folder (agents/devops-sre/kubernetes-interviewer in PrepLabsAI/InterviewMentor) into .agents/skills/kubernetes-interviewer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PrepLabsAI/InterviewMentor --skill kubernetes-interviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kubernetes-interviewer, .gemini/skills/kubernetes-interviewer, .github/skills/kubernetes-interviewer and .opencode/skills/kubernetes-interviewer in your project.
Going by SKILL.md and its folder, Kubernetes Interviewer needs the command-line tools its instructions call (kubectl).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Kubernetes Interviewer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Kubernetes Interviewer: Kubernetes Patterns (timothywarner-org/claude-code, 224 stars), Aks Deployment Skill (timothywarner/chatgptclass, 143 stars), KubeSphere Gateway Management (kubesphere/kubesphere, 17k stars) and Kubernetes Patterns (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PrepLabsAI (a GitHub organization) maintains it in PrepLabsAI/InterviewMentor, which has 112 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 7, 2026.
Source: PrepLabsAI/InterviewMentor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.