kubernetes-deployment – skill DevOps & Hạ tầng cho agent AI
Quy trình triển khai Kubernetes để điều phối container, Helm chart, service mesh và cấu hình K8s sẵn sàng cho production.
Cài skill kubernetes-deployment bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/kubernetes-deployment-16e61.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /kubernetes-deployment – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/kubernetes-deployment-16e61.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $kubernetes-deployment – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/kubernetes-deployment-16e61.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /kubernetes-deployment – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/kubernetes-deployment-16e61.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /kubernetes-deployment – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Kubernetes Deployment Workflow
Overview
Specialized workflow for deploying applications to Kubernetes including container orchestration, Helm charts, service mesh configuration, and production-ready K8s patterns.
When to Use This Workflow
Use this workflow when:
- Deploying to Kubernetes
- Creating Helm charts
- Configuring service mesh
- Setting up K8s networking
- Implementing K8s security
Target and evidence
Select only phases needed for the requested change. Confirm cluster/context, namespace, ownership, API/CRD versions and deployment/cost authorization before registry pushes or cluster writes. Prepare a reviewed immutable image and rendered manifests, validate schema/policy and diff the exact target, then use a tested rollout and rollback strategy. A valid manifest is not a healthy deployment; verify readiness, application flows, metrics and data-migration compatibility. Store secrets through the actual protected platform mechanism, not committed plaintext YAML.
Workflow Phases
Phase 1: Container Preparation
Skills to Invoke
docker-expert- Docker containerizationk8s-manifest-generator- K8s manifests
Actions
1. Create Dockerfile
2. Build container image
3. Optimize image size
4. Push to registry
5. Test container
Copy-Paste Prompts
Use @docker-expert to containerize application for K8sPhase 2: K8s Manifests
Skills to Invoke
k8s-manifest-generator- Manifest generationkubernetes-architect- K8s architecture
Actions
1. Create Deployment
2. Configure Service
3. Set up ConfigMap
4. Create Secrets
5. Add Ingress
Copy-Paste Prompts
Use @k8s-manifest-generator to create K8s manifestsPhase 3: Helm Chart
Skills to Invoke
helm-chart-scaffolding- Helm charts
Actions
1. Create chart structure
2. Define values.yaml
3. Add templates
4. Configure dependencies
5. Test chart
Copy-Paste Prompts
Use @helm-chart-scaffolding to create Helm chartPhase 4: Service Mesh
Skills to Invoke
istio-traffic-management- Istiolinkerd-patterns- Linkerdservice-mesh-expert- Service mesh
Actions
1. Choose service mesh
2. Install mesh
3. Configure traffic management
4. Set up mTLS
5. Add observability
Copy-Paste Prompts
Use @istio-traffic-management to configure IstioPhase 5: Security
Skills to Invoke
k8s-security-policies- K8s securitymtls-configuration- mTLS
Actions
1. Configure RBAC
2. Set up NetworkPolicy
3. Enable PodSecurity
4. Configure secrets
5. Implement mTLS
Copy-Paste Prompts
Use @k8s-security-policies to secure Kubernetes clusterPhase 6: Observability
Skills to Invoke
grafana-dashboards- Grafanaprometheus-configuration- Prometheus
Actions
1. Install monitoring stack
2. Configure Prometheus
3. Create Grafana dashboards
4. Set up alerts
5. Add distributed tracing
Copy-Paste Prompts
Use @prometheus-configuration to set up K8s monitoringPhase 7: Deployment
Skills to Invoke
deployment-engineer- Deploymentgitops-workflow- GitOps
Actions
1. Configure CI/CD
2. Set up GitOps
3. Deploy to cluster
4. Verify deployment
5. Monitor rollout
Copy-Paste Prompts
Use @gitops-workflow to implement GitOps deploymentQuality Gates
- [ ] Containers working
- [ ] Manifests valid
- [ ] Helm chart installs
- [ ] Security configured
- [ ] Monitoring active
- [ ] Deployment successful
Related Workflow Bundles
cloud-devops- Cloud/DevOpsterraform-infrastructure- Infrastructuredocker-containerization- Containers
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- kubernetes-hardening – Triển khai security context, Pod Security Standards và network policy cho Kubernetes.
- kubernetes-ops – Triển khai, mở rộng và quản lý khối lượng công việc Kubernetes.
- kustomize – Tùy chỉnh manifest Kubernetes mà không cần templating bằng Kustomize.
- langfuse – Chuyên gia về Langfuse - nền tảng observability LLM mã nguồn mở. Bao gồm tracing, quản…
- linux-administration – Quản trị hệ thống cho máy chủ Linux. Quản lý gói phần mềm, dịch vụ và cấu hình hệ thống…
- linux-hardening – Áp dụng benchmark CIS và bảo mật máy chủ Linux.
- linux-privilege-escalation – Thực hiện đánh giá leo thang đặc quyền có hệ thống trên Linux để tìm và khai thác cấu…
- linux-shell-scripting – Cung cấp mẫu shell script sẵn sàng cho môi trường production cho các tác vụ quản trị…