kubernetes-best-practices

Provide Kubernetes operational best practices for deployments, monitoring, secrets, and troubleshooting.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/kobogithub/knowledge --skill kubernetes-best-practices-kobogithub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes-best-practices
Source: https://github.com/kobogithub/knowledge/tree/main/skills/kubernetes-best-practices
Command: npx skills add https://github.com/kobogithub/knowledge --skill kubernetes-best-practices-kobogithub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and commands for operating Kubernetes clusters efficiently and securely, addressing common challenges in deployments, monitoring, and troubleshooting.

Core Features & Use Cases

  • Deployment Strategies: Covers rolling updates, rollbacks, blue-green, and canary deployments.
  • Monitoring & Alerting: Integrates with Prometheus for metrics and alerts.
  • Secrets Management: Details secure handling using External Secrets, SOPS, and Sealed Secrets.
  • Troubleshooting: Offers detailed steps for diagnosing pods, networking, storage, and nodes.
  • Use Case: When deploying a new version of an application, use this Skill to perform a safe rolling update with kubectl diff for verification and kubectl rollout status for monitoring.

Quick Start

Use the kubernetes-best-practices skill to perform a rolling update of the 'api' deployment in the 'production' namespace with the tag 'v1.2.3'.

Frequently Asked Questions about kubernetes-best-practices

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

FAQPage Schema
How do I perform a rolling update for a Kubernetes deployment?

Execute a canary deployment in Kubernetes by shifting a small percentage of traffic to the new version. This strategy limits blast radius and allows performance validation before a full rollout.

How does Prometheus integrate with Kubernetes for monitoring and alerts?

Prometheus integrates with Kubernetes by scraping cluster metrics and configuring alert rules. This setup provides comprehensive visibility into cluster health and triggers notifications when anomalies occur.

What is the best way to manage Kubernetes secrets securely?

Manage Kubernetes secrets securely using External Secrets Operator, SOPS, or Sealed Secrets. These tools encrypt sensitive data at rest and safely synchronize secrets from external vaults into your cluster.

How do I troubleshoot Kubernetes networking and storage issues?

Troubleshoot Kubernetes networking and storage issues by following detailed diagnostic steps for pods and nodes. This includes inspecting pod logs, checking network policies, and verifying persistent volume claims.