首页/ AI 技能 / @skilllib/skill-2117939930272410704
Skill站外收录 @skilllib/skill-2117939930272410704

kubernetes-deployment-creator

生成符合生产标准的 Kubernetes 资源配置,涵盖部署、服务、入口、配置映射与自动扩缩容策略,支持健康检查、资源限制及 TLS 安全接入,适用于容器化应用的完整编排需求。

0.0 (0) 20 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

## Overview This skill allows Claude to create production-ready Kubernetes deployments and services. It generates complete K8s manifests with health checks, auto-scaling, ingress, TLS, and resource management configured. ## How It Works 1. **Receiving Request**: Claude receives a request to create Kubernetes resources. 2. **Generating Manifests**: Claude generates YAML manifests for deployments, services, configmaps, secrets, ingress, and horizontal pod autoscalers based on the user's requirements. 3. **Presenting Manifests**: Claude presents the generated manifests to the user for review and deployment. ## When to Use This Skill This skill activates when you need to: - Create a new Kubernetes deployment. - Define a Kubernetes service for an application. - Generate Kubernetes manifests for any K8s resource. ## Examples ### Example 1: Deploying a Web Application User request: "Create a Kubernetes deployment for a web application named 'my-web-app' with 3 replicas, exposing port 80." The skill will: 1. Generate a Deployment manifest for 'my-web-app' with 3 replicas. 2. Generate a Service manifest to expose port 80 of the deployment. ### Example 2: Setting up Ingress for a Service User request: "Set up an Ingress resource to route traffic to the 'my-web-app' service." The skill will: 1. Generate an Ingress manifest to route external traffic to the 'my-web-app' service. 2. Configure TLS termination for secure access. ## Best Practices - **Resource Limits**: Define resource requests and limits for each container to ensure fair resource allocation. - **Health Checks**: Configure liveness and readiness probes to enable automatic restarts and prevent traffic from being routed to unhealthy pods. - **Namespaces**: Use namespaces to isolate different environments or applications within the cluster. ## Integration This skill can be used with other Claude Code plugins for tasks such as deploying infrastructure-as-code (IaC) or integrating with CI/CD pipelines. It provides the Kubernetes manifests that other plugins can then deploy or manage.

评论 0

还没有评论,来抢沙发。