Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
k8s-gen【部署与运维】Generate Kubernetes manifests from docker-compose or plain English. Use when deploying apps to K8s.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Stop writing YAML by hand. This tool converts your docker-compose files or plain descriptions into production ready Kubernetes manifests. Deployments, Services, ConfigMaps, the whole thing.
One command. Zero config. Just works.
npx ai-k8s "nginx with 3 replicas, exposed on port 80"
# Generate from a description
npx ai-k8s "postgres database with persistent volume"
# Convert docker-compose to K8s
npx ai-k8s --compose docker-compose.yml
# Full app stack
npx ai-k8s "node app with redis cache and postgres db, 3 replicas each"
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended.
npx ai-k8s --help
The tool analyzes your docker-compose file or description, understands the services and their relationships, then generates idiomatic Kubernetes manifests. It maps Docker concepts to K8s equivalents like volumes to PersistentVolumeClaims and ports to Services.
MIT. Free forever. Use it however you want.