Kubernetes

Guide Kubernetes deployment manifests for resources, probes, labels, and RBAC.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/zhanbei1/OpenOcta --skill kubernetes-zhanbei1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Kubernetes
Source: https://github.com/zhanbei1/OpenOcta/tree/main/src/skills/k8s
Command: npx skills add https://github.com/zhanbei1/OpenOcta --skill kubernetes-zhanbei1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineers avoid common Kubernetes mistakes that lead to performance issues, outages, and security risks by clarifying resource, probe, label, and RBAC pitfalls.

Core Features & Use Cases

  • Resource management best practices, including proper requests and limits
  • Probes configuration guidance (readiness, liveness, startup)
  • Labels and selectors correctness to ensure reliable service endpoints
  • RBAC and security best practices

Quick Start

Review your deployment manifest and apply safe defaults for resources, probes, selectors, and RBAC to avoid common Kubernetes mistakes.

Frequently Asked Questions about Kubernetes

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

FAQPage Schema
Why do my Kubernetes pods keep getting evicted or crash looping under load?

Kubernetes pods face eviction or crash loops when deployment manifests omit proper resource requests and limits. Setting safe default resource boundaries for CPU and memory prevents performance issues and unexpected outages.

How do I configure readiness and liveness probes correctly in Kubernetes?

Configure Kubernetes probes by setting appropriate readiness, liveness, and startup checks. Proper probe configuration ensures traffic only routes to healthy pods and prevents premature container restarts during slow initialization.

Why are my Kubernetes services not routing traffic to the expected pods?

Kubernetes services fail to route traffic correctly when labels and selectors are inconsistent. Ensuring strict matching between service selectors and pod labels guarantees reliable endpoint connectivity across your deployments.

How do I secure access control without exposing cluster resources in Kubernetes?

Secure Kubernetes access control by implementing strict RBAC configurations. Applying least-privilege RBAC best practices prevents security risks and unauthorized access during day-to-day cluster operations.

Can I use this guidance for both deployment manifests and cluster provisioning?

Yes, these best practices apply to deployment manifests, cluster provisioning, and day-to-day operations. The guidance enforces resource limits, probes, labels, and RBAC in any environment running kubectl.

What are the most common Kubernetes pitfalls I should avoid in production?

Common Kubernetes pitfalls include missing resource limits, misconfigured probes, inconsistent labels, and insecure RBAC. Reviewing your deployment manifest to enforce safe defaults prevents these performance and security issues.