kubernetes

Manage Kubernetes resources and execute kubectl commands across clusters.

Updated Oct 22, 2025
One-click install
npx skills add https://github.com/franroa/chezmoi --skill kubernetes-franroa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes
Source: https://github.com/franroa/chezmoi/tree/main/private_dot_config/opencode/skills/kubernetes
Command: npx skills add https://github.com/franroa/chezmoi --skill kubernetes-franroa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance for Kubernetes development, operations, and troubleshooting, covering clusters, manifests, kubectl, networking, and storage.

Core Features & Use Cases

  • Resource management: Create, update, and debug Pods, Deployments, Services, and more.
  • kubectl mastery: Synthesize commands and workflows for cluster diagnosis and day-2 operations.
  • Cluster operations: Guidance on namespaces, RBAC, health checks, and networking.
  • Advanced topics: Ingress, storage, autoscaling, and CRD patterns.

Quick Start

Design a deployment workflow: create a Deployment and Service in a namespace, and verify readiness and rollout status.

Frequently Asked Questions about kubernetes

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

FAQPage Schema
How do I create and deploy a Kubernetes Deployment with a Service?

Write YAML manifests defining a Deployment and Service resource, then apply them using kubectl apply. Kubernetes orchestrates Pod replicas across your cluster and exposes them through the Service for load-balanced access and automatic service discovery.

What's the best way to manage Kubernetes RBAC and access control?

Define Role, RoleBinding, ClusterRole, and ClusterRoleBinding resources in YAML to grant least-privilege permissions to users and service accounts. RBAC governance enforces fine-grained authorization policies across your cluster namespaces and resources.

How do I troubleshoot networking and storage issues in Kubernetes?

Use kubectl commands to inspect Pod logs, describe resources, and check events; verify Service and Ingress configuration; examine PersistentVolume and PersistentVolumeClaim bindings. Systematic diagnosis isolates connectivity, DNS, and persistent storage failures.

Can I use kubectl to automate day-2 cluster operations and diagnostics?

Yes. kubectl synthesizes commands for cluster inspection, resource management, rollout monitoring, and troubleshooting. Scripted kubectl workflows enable repeatable diagnostics, deployments, and operational tasks across Kubernetes clusters.

What resources do I need to manage in Kubernetes manifests?

Kubernetes manifests define Pods, Deployments, Services, ConfigMaps, Secrets, PersistentVolumes, Ingress, and custom resources. Each resource type solves specific problems: Deployments manage replicas, Services expose workloads, ConfigMaps store configuration, and Secrets secure sensitive data.

How do I configure autoscaling and advanced features like Ingress in Kubernetes?

Define HorizontalPodAutoscaler resources to scale replicas by metrics, and Ingress resources to route external traffic to Services. CRD patterns and policy enforcement enable specialized autoscaling strategies and complex traffic management.