Back to skills
SKILL.md
Deploy
ASecurityGenerate K8s manifests — Deployment, Service, ConfigMap, HPA, Ingress.
- 8 stars
- 0 votes
- 0 copies
- 1 view
- Added September 6, 2026
Works with
Security analysis
100/100npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill deploy --agent claude-codeAre you the author of Deploy?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/khaitrang1995-deploy)---
name: deploy
description: Generate K8s manifests — Deployment, Service, ConfigMap, HPA, Ingress.
user-invocable: true
argument-hint: "<app-name> [--namespace <ns>] [--replicas <n>] [--with-ingress]"
---
# /deploy — Generate Kubernetes Manifests
## Input examples
```
/deploy container-api --namespace prod --replicas 3 --with-ingress
/deploy angular-app --namespace staging
/deploy worker-service --replicas 2
```
## Output
```
k8s/{app-name}/
deployment.yaml
service.yaml
configmap.yaml
hpa.yaml (auto-scale)
ingress.yaml (if --with-ingress)
kustomization.yaml
```
## Mandatory rules
- **Resource limits** (cpu/memory) are mandatory — never deploy without setting limits
- **Liveness + Readiness probes** for every container
- **ConfigMap/Secret** for config — NEVER hardcode env vars in the deployment
- **Standard labels**: `app`, `version`, `team`, `environment`
- **Explicit namespace**, NEVER use `default`
- **Rolling update** strategy (maxSurge: 1, maxUnavailable: 0)
- **Security context**: runAsNonRoot, readOnlyRootFilesystem
## References
- @.claude/rules/k8s-conventions.md
Attribution
Comments
Loading comments…