Kubernetes

Guide Kubernetes operations with kubectl, RBAC, and YAML manifest validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vdemeester/home --skill kubernetes-vdemeester
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Kubernetes
Source: https://github.com/vdemeester/home/tree/main/dots/.config/claude/skills/Kubernetes
Command: npx skills add https://github.com/vdemeester/home --skill kubernetes-vdemeester

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance for Kubernetes operations, including kubectl workflows, RBAC, network policies, and cluster management.

Core Features & Use Cases

  • kubectl Guidance: Commands and best practices for cluster management.
  • RBAC & Security: Role-based access control and cluster hardening patterns.

Quick Start

Apply a manifest to a cluster and verify rollout status.

Frequently Asked Questions about Kubernetes

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

FAQPage Schema
How do I apply and validate Kubernetes manifests with kubectl?

Apply manifests to your cluster using kubectl apply -f and verify rollout status with kubectl rollout status. This ensures your deployments, pods, and resources are created correctly and reach the desired state across your cluster.

What are RBAC patterns and how do I configure role-based access control in Kubernetes?

RBAC (role-based access control) restricts user and service account permissions in Kubernetes through Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings. Define these resources in YAML manifests to enforce least-privilege access and cluster hardening.

How do I debug pods and troubleshoot resource issues in Kubernetes?

Use kubectl logs, kubectl describe, and kubectl exec to inspect pod behavior and diagnose failures. Verify readiness and liveness probes, resource requests and limits, and check events across namespaces to isolate cluster and deployment problems.

What security best practices should I follow for Kubernetes deployments?

Enforce non-root execution, configure secure kubeconfig handling, apply network policies, set explicit resource requests and limits, use consistent labeling, and implement RBAC patterns. These practices harden clusters across cloud and on-prem environments.

How do I manage multiple namespaces and organize Kubernetes clusters?

Use kubectl namespace commands and manifest labels to segment resources and control access. Organize deployments, services, and configurations by namespace to isolate workloads and apply RBAC policies at namespace and cluster scope.

Can I use network policies to control traffic between pods in Kubernetes?

Yes, network policies define ingress and egress rules for pod-to-pod communication. Declare them in YAML manifests and apply with kubectl to restrict traffic flow and enforce zero-trust networking within your cluster.