k8s-manifest-generator
Kubernetes 매니페스트 생성
Kubernetes 매니페스트 생성에는 많은 필드와 모범 사례에 대한 이해가 필요합니다. 이 기술은 Deployments, Services, ConfigMaps, Secrets에 대한 가이드 템플릿과 보안 중심 예제를 제공합니다.
스킬 ZIP 다운로드
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
토글을 켜고 사용 시작
테스트해 보기
"k8s-manifest-generator" 사용 중입니다. Create production manifests for a payments API using image registry/payments:2.1.0, port 8080, and external access.
예상 결과:
- 세 개의 레플리카, 리소스 제한 및 활성 상태 및 준비 상태 프로브가 포함된 Deployment
- 포트 80과 443을 노출하는 LoadBalancer Service
- Deployment에 연결된 ConfigMap 및 Secret 참조
- 루트가 아닌 보안 컨텍스트와 삭제된 capabilities 설정
"k8s-manifest-generator" 사용 중입니다. Create a ConfigMap with nginx configuration for a web server.
예상 결과:
- nginx.conf 콘텐츠가 포함된 web-nginx-config라는 이름의 ConfigMap
- worker 프로세스, 로그 경로 및 프록시 설정을 포함한 예제 nginx.conf
- 볼륨으로 마운트하거나 환경 변수로 노출하는 지침
보안 감사
안전This is a pure documentation and YAML template skill. No executable code is present. The skill provides guided templates and best practices for Kubernetes manifests. All static findings are false positives: backticks in markdown are code formatting, not command execution; embedded scripts in YAML are template examples, not executable code; cryptographic mentions are documentation references, not actual weak crypto usage.
위험 요인
⚡ 스크립트 포함 (1)
🌐 네트워크 접근 (1)
품질 점수
만들 수 있는 것
표준화된 앱 매니페스트
보안 및 리소스 설정이 포함된 일관된 Deployment 및 Service YAML 생성.
새 서비스 부트스트랩
ConfigMap, Secret 및 기본 네트워킹이 포함된 새 API용 매니페스트 초안 작성.
YAML 품질 검토
권장 프로브, 레이블 및 보안 컨텍스트에 대해 팀 매니페스트 확인.
이 프롬프트를 사용해 보세요
Generate a Deployment and ClusterIP Service for app web-api using image repo/web:1.2.3, port 8080, and namespace dev.
Create manifests for app billing with a ConfigMap for settings, a Secret reference for credentials, a Deployment, and a Service.
Create a Deployment and PersistentVolumeClaim for app reports with 20Gi storage and mount it at /var/lib/app.
Generate production manifests with non-root security context, read-only filesystem, resource limits, and health probes for app payments.
모범 사례
- 요청에 정확한 이미지 태그와 리소스 제한 제공
- 포트, 프로토콜 및 노출 유형 명확하게 지정
- ConfigMap 및 Secret 요구 사항 명시적으로 설명
피하기
- 매니페스트에 일반 텍스트로 시크릿 배치 요청
- 프로덕션 배포에서 :latest 이미지 태그 사용
- 상태 프로브 및 보안 컨텍스트 설정 생략