operating-k8s-local

Operates local Kubernetes clusters with Minikube and kubectl for development and debugging.

9|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/AbdullahMalik17/Hacathan_5 --skill operating-k8s-local-abdullahmalik17
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: operating-k8s-local
Source: https://github.com/AbdullahMalik17/Hacathan_5/tree/main/.claude/skills/operating-k8s-local
Command: npx skills add https://github.com/AbdullahMalik17/Hacathan_5 --skill operating-k8s-local-abdullahmalik17

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Setting up and debugging local Kubernetes environments involves many scattered commands across Minikube and kubectl, and misconfigurations around images, networking, and addons waste development time. ## Core Features & Use Cases - Cluster Lifecycle Management: Start, stop, and configure Minikube clusters with resource limits, drivers, addons, and multiple named profiles. - kubectl Operations Reference: Covers context switching, resource inspection, log retrieval, manifest creation, scaling, rollouts, and in-pod debugging. - Local Image Workflow: Build Docker images directly into Minikube's daemon and deploy them with the correct imagePullPolicy settings. - Use Case: A developer containerizes a FastAPI service, builds the image into Minikube, deploys it with an Ingress, and debugs a crashing pod using previous-container logs and event inspection. ## Quick Start Ask the assistant to start a Minikube cluster with 8GB memory, enable the ingress addon, and deploy your local Docker image to it.

Frequently Asked Questions about operating-k8s-local

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

FAQPage Schema
How do I use local Docker images in Minikube?▼

Point your shell to Minikube's Docker daemon with eval $(minikube docker-env), then build images directly into the cluster. Set imagePullPolicy: Never in your pod spec so Kubernetes uses the local image instead of pulling from a registry.

How to expose a Kubernetes service locally with Minikube?▼

Use minikube service my-service --url for NodePort services, run minikube tunnel for LoadBalancer types, or use kubectl port-forward svc/my-service 8080:80. For Ingress, enable the ingress addon and map the Minikube IP in /etc/hosts.

Why is my Minikube pod crashing and how do I debug it?▼

Check kubectl describe pod for the Events section to see scheduling or probe failures, then run kubectl logs my-pod --previous to view output from the crashed container. Also verify resource usage with kubectl top pods and nodes.

Can I run multiple Kubernetes clusters with Minikube?▼

Yes, Minikube supports named profiles. Create clusters with minikube start -p my-cluster, switch between them using minikube profile my-cluster, and list all profiles with minikube profile list.

What Minikube addons are needed for local development?▼

The ingress addon is required for external HTTP access via Ingress resources, and metrics-server enables kubectl top commands. The dashboard addon provides a web UI, and storage-provisioner supports PersistentVolumeClaims.