operating-k8s-local

Operate local Kubernetes clusters with Minikube for development and testing.

27|11|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill operating-k8s-local
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: operating-k8s-local
Source: https://github.com/mjunaidca/mjs-agent-skills/tree/main/.claude/skills/operating-k8s-local
Command: npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill operating-k8s-local

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill covers operating local Kubernetes clusters with Minikube for development and testing, including cluster lifecycle, addons, networking, and local image workflows.

Core Features & Use Cases

  • Minikube Essentials: start/stop clusters, manage profiles, and switch drivers.
  • Addon Management: enable ingress, metrics-server, dashboard, and more for local workflows.
  • Local Docker Images: build/load images directly into Minikube and switch docker-env as needed.
  • kubectl Best Practices: manage contexts, namespaces, logs, and debugging.

Quick Start

Start a local cluster, enable ingress and metrics-server, point Docker to Minikube, and deploy manifests from k8s/ directory.

Frequently Asked Questions about operating-k8s-local

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a local Kubernetes cluster for development?

Minikube creates a local Kubernetes cluster by provisioning a lightweight virtual machine or container runtime on your development machine. Install Minikube, run `minikube start`, and kubectl automatically configures to access it, enabling you to develop and test deployments locally without cloud infrastructure.

Can I build and deploy Docker images directly to Minikube?

Yes. Configure your Docker client to point to Minikube's Docker daemon using `minikube docker-env`, build images directly into Minikube's registry, then deploy via kubectl manifests. This eliminates the need to push images to an external registry during development.

What addons should I enable for a local Kubernetes workflow?

Enable ingress for local routing, metrics-server for resource monitoring, and dashboard for visual cluster inspection. Minikube's addon system activates these with single commands, supporting common development and debugging scenarios without manual configuration.

How do I manage multiple local Kubernetes clusters?

Minikube profiles let you create and switch between isolated clusters on the same machine. Use `minikube start -p [profile-name]` and `kubectl config use-context [context]` to work across multiple cluster workspaces for testing different configurations or versions.

Can I use Minikube with different VM drivers or container runtimes?

Minikube supports multiple drivers including VirtualBox, Docker, and others depending on your platform. Specify the driver at startup with `minikube start --driver=[driver-name]` to align with your local development environment and performance needs.

What are the limitations of local Kubernetes clusters for production testing?

Minikube runs on a single node with resource constraints and lacks multi-node networking, load balancing, and persistent storage patterns typical of production clusters. Use it for development iteration and unit testing; validate multi-node behavior and scaling on staging environments.