k8s-style

Guide Kubernetes manifest creation, RBAC, network policies, and probes.

Updated May 2, 2020
One-click install
npx skills add https://github.com/vankichi/dotfiles --skill k8s-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-style
Source: https://github.com/vankichi/dotfiles/tree/main/claude/ja/skills/k8s-style
Command: npx skills add https://github.com/vankichi/dotfiles --skill k8s-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kubernetes, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill serves as a comprehensive guide to Kubernetes best practices, providing expert reference on manifests, RBAC, security context, network policies, probes, resource management, Kustomize, and image operations. It answers common questions like "How to write RBAC correctly?" or "What should probes look like?" and helps in making Kubernetes configurations more robust and secure.

Core Features & Use Cases

  • Manifest Design: Offers guidelines for designing Kubernetes manifests, emphasizing best practices for naming, labels, and annotations.
  • RBAC & Security: Delivers insights into setting up Role-Based Access Control (RBAC) and implementing security context for pods and containers.
  • Network Policies: Guides on creating effective network policies for managing communication between pods.
  • Probes: Best practices for implementing liveness, readiness, and startup probes.
  • Resource Management: Recommendations for setting resource requests and limits to optimize workload performance.
  • Use Case: Suitable for Kubernetes administrators and developers who need to ensure their configurations adhere to Kubernetes standards and best practices.

Quick Start

Access the 'k8s-style' skill to understand the best practices for Kubernetes manifest design, including RBAC setup and resource management.

Frequently Asked Questions about k8s-style

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

FAQPage Schema
How do I write Kubernetes RBAC and security context correctly?

Kubernetes RBAC and security context require defining Role-Based Access Control rules and container privileges. This Skill provides reference guidelines for setting up RBAC and implementing security context for pods and containers to ensure robust configurations.

What are the best practices for Kubernetes manifest design and labels?

Kubernetes manifest design best practices focus on standardized naming, labels, and annotations. This Skill provides detailed guidelines to design manifests adhering to Kubernetes conventions, ensuring proper resource management and deployment.

How should I configure liveness, readiness, and startup probes in Kubernetes?

Configure liveness, readiness, and startup probes in Kubernetes by following established best practices for health checking. This Skill provides reference implementations to guide you in making probe configurations effective and reliable.

How do I create effective network policies for managing pod communication?

Create effective network policies by defining rules that manage communication between Kubernetes pods. This Skill guides you through creating network policies that secure and control traffic flow according to best practices.

Do I need prior knowledge of Kubernetes to use this configuration guide?

Yes, you need prior knowledge of Kubernetes and basic configuration management tools to use this guide. It is designed for Kubernetes administrators and developers who need to ensure configurations meet standards.

What is the best way to set resource requests and limits for Kubernetes workloads?

The best way to set resource requests and limits for Kubernetes workloads is following optimization recommendations. This Skill provides resource management guidelines to optimize workload performance and adhere to configuration standards.