본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6718

k8s-manifest-generator

하는 일

이 도구는 Kubernetes용 '설정 파일'(매니페스트라고 함)을 만들도록 돕습니다. 이 파일들은 Kubernetes에 애플리케이션을 어떻게 실행할지 알려 주며, 애플리케이션이 잘 그리고 안전하게 작동하도록 합니다.

사용하는 경우

  • ✓애플리케이션을 실행하기 위해 새 '매니페스트'를 만들어야 할 때.
  • ✓애플리케이션이 네트워크로 서로 통신하는 방식을 정의할 때.
  • ✓설정 정보나 비밀번호를 안전하게 보관해야 할 때.

스킬 링크

https://github.com/wshobson/agents/blob/main/plugins/kubernetes-operations/skills/k8s-manifest-generator/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/kubernetes-operations/skills/k8s-manifest-generator/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“'my-app:latest' 이미지를 사용하고 80번 포트를 열어서 내 웹 애플리케이션을 실행하는 매니페스트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

애플리케이션에 무엇이 필요한지 알려 주시면(사용할 이미지, 열어야 할 포트 등), Kubernetes 설정 파일을 생성해 드립니다. 모든 것이 올바르고 안전하게 실행되도록 모범 사례를 따릅니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Kubernetes Manifest Generator

Step-by-step guidance for creating production-ready Kubernetes manifests including Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.

Purpose

This skill provides comprehensive guidance for generating well-structured, secure, and production-ready Kubernetes manifests following cloud-native best practices and Kubernetes conventions.

When to Use This Skill

Use this skill when you need to:

  • Create new Kubernetes Deployment manifests
  • Define Service resources for network connectivity
  • Generate ConfigMap and Secret resources for configuration management
  • Create PersistentVolumeClaim manifests for stateful workloads
  • Follow Kubernetes best practices and naming conventions
  • Implement resource limits, health checks, and security contexts
  • Design manifests for multi-environment deployments

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices Summary

  1. Always set resource requests and limits - Prevents resource starvation
  2. Implement health checks - Ensures Kubernetes can manage your application
  3. Use specific image tags - Avoid unpredictable deployments
  4. Apply security contexts - Run as non-root, drop capabilities
  5. Use ConfigMaps and Secrets - Separate config from code
  6. Label everything - Enables filtering and organization
  7. Follow naming conventions - Use standard Kubernetes labels
  8. Validate before applying - Use dry-run and validation tools
  9. Version your manifests - Keep in Git with version control
  10. Document with annotations - Add context for other developers

Troubleshooting

Pods not starting:

  • Check image pull errors: kubectl describe pod <pod-name>
  • Verify resource availability: kubectl get nodes
  • Check events: kubectl get events --sort-by='.lastTimestamp'

Service not accessible:

  • Verify selector matches pod labels: kubectl get endpoints <service-name>
  • Check service type and port configuration
  • Test from within cluster: kubectl run debug --rm -it --image=busybox -- sh

ConfigMap/Secret not loading:

  • Verify names match in Deployment
  • Check namespace
  • Ensure resources exist: kubectl get configmap,secret

Next Steps

After creating manifests:

  1. Store in Git repository
  2. Set up CI/CD pipeline for deployment
  3. Consider using Helm or Kustomize for templating
  4. Implement GitOps with ArgoCD or Flux
  5. Add monitoring and observability

Related Skills

  • helm-chart-scaffolding - For templating and packaging
  • gitops-workflow - For automated deployments
  • k8s-security-policies - For advanced security configurations
자주 묻는 질문

Kubernetes란 무엇인가요?

많은 애플리케이션을 자동으로, 안정적으로 동시에 관리하고 실행하도록 돕는 시스템입니다.

'매니페스트'란 무엇인가요?

Kubernetes가 애플리케이션, 서비스, 기타 리소스를 어떻게 실행해야 하는지 설명하는 텍스트 파일입니다. 보통 YAML 형식입니다.

왜 '모범 사례'를 따라야 하나요?

애플리케이션이 안정적이고 안전하게 실행되고, Kubernetes가 효율적으로 관리하여 문제를 막을 수 있도록 하기 위해서입니다.

상세 정보

작성자의 원본 설명

Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.

repo: wshobson/agents

인기도

GitHub 스타
41k
순위
#6718
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬