kubernetes-essentials

Provide a quick-reference guide for Kubernetes concepts and kubectl commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Quick reference for Kubernetes core concepts and kubectl commands to ease cluster navigation and daily ops.

Core Features & Use Cases

  • Context & Configuration: View and switch contexts, namespaces, and configs
  • Info & Resources: Get pods, deployments, services, and describe resources
  • Create/Modify/Delete: Create, patch, and delete resources with kubectl

Quick Start

Set your context, list resources, describe a deployment, and view logs to troubleshoot.

Frequently Asked Questions about kubernetes-essentials

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

FAQPage Schema
How do I manage pods and deployments in Kubernetes with kubectl?

Kubectl is the command-line tool for managing Kubernetes resources. Use `kubectl create` to deploy pods and deployments, `kubectl get` to list resources, `kubectl describe` to inspect details, and `kubectl delete` to remove resources. These commands form the foundation of daily cluster operations.

What's the best way to store sensitive data in Kubernetes?

Kubernetes secrets store sensitive configuration data separately from application code. Create secrets with `kubectl create secret`, reference them in pod specs, and Kubernetes manages encryption at rest. Secrets keep passwords, API tokens, and credentials secure within your cluster.

How do I configure application settings across Kubernetes deployments?

ConfigMaps store non-sensitive configuration data as key-value pairs in Kubernetes. Use `kubectl create configmap` to define settings, then inject them into pods as environment variables or mounted files. This separates configuration from deployment manifests.

Can I switch between multiple Kubernetes clusters and namespaces?

Yes. Use `kubectl config view` to see your contexts and `kubectl config use-context` to switch between clusters. Namespaces logically partition resources within a cluster. Use `kubectl config set-context` to set default namespaces and manage multi-environment access.

How do I troubleshoot a failing pod in Kubernetes?

Use `kubectl describe pod` to inspect resource events and status, then `kubectl logs` to view application output. Check pod events for errors, verify resource requests, and examine deployment specifications. These commands diagnose most common pod failures.

What are the core Kubernetes resources I need to understand?

Core resources include Pods (smallest deployable units), Deployments (manage pod replicas), Services (network access), ConfigMaps (configuration), Secrets (sensitive data), and Namespaces (resource partitioning). These form the foundation for all Kubernetes cluster operations.