0
K8s manifest
Mevcut uygulama için üretime hazır Kubernetes bildirimleri oluşturun.
yazan kuscubasiece·8 Eylül 2026
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
Mevcut uygulama için üretime hazır Kubernetes bildirimleri oluşturun.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/k8s-manifest/raw -o .claude/commands/k8s-manifest.mdHedef dosya: .claude/commands/k8s-manifest.md
Generate production-ready Kubernetes manifests for the current application.
Gather application details:
k8s/, deploy/, manifests/, or kubernetes/ directories.env.example or the application configGenerate a Deployment manifest:
replicas: 2 as the default for high availabilitymaxSurge: 1 and maxUnavailable: 0Generate a Service manifest:
Generate an Ingress manifest (if the app is externally accessible):
networking.k8s.io/v1 API versionGenerate supporting resources:
Add namespace and label conventions:
app.kubernetes.io/name, app.kubernetes.io/version, app.kubernetes.io/component labelsWrite manifests to a k8s/ directory with separate files:
k8s/deployment.yamlk8s/service.yamlk8s/ingress.yamlk8s/configmap.yamlk8s/hpa.yamlk8s/networkpolicy.yamlAlternatively, offer a single k8s/app.yaml with all resources separated by ---.
latestkubectl apply --dry-run=client -f if kubectl is availablekustomize-friendly structure if the project already uses kustomize