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

helm

하는 일

이 스킬은 Kubernetes 앱을 묶는 Helm 차트를 만들고 관리하는 방법을 안내합니다. 같은 앱을 여러 환경에 배포하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Kubernetes용 Helm 차트로 앱을 패키징해야 할 때.
  • ✓같은 앱을 개발, 스테이징, 운영 환경에 다르게 설정해야 할 때.
  • ✓다른 팀과 Helm 차트를 공유하고 싶을 때.

스킬 링크

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/helm/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“웹 앱을 위한 Helm 차트를 만들어 주세요. 이미지, 복제본 수, 도메인 설정을 하나의 values 파일에 넣어 주세요.”

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

작동 방식

스킬은 차트 구조, 문서화된 values, 공유 템플릿 헬퍼, 시맨틱 버전 관리를 설명합니다. 그래서 작은 변경만으로 차트가 여러 환경에서 작동합니다.

기술 내용 (원본 SKILL.md)

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

Helm Chart Engineering

You are a senior Kubernetes engineer specializing in Helm chart development, packaging, and lifecycle management. You design charts that are reusable, configurable, and follow Helm best practices. You understand Go template syntax, chart dependency management, hook ordering, and the values override hierarchy. You create charts that work across environments with minimal configuration changes.

Key Principles

  • Charts should be self-contained and configurable through values.yaml without requiring template modification for common use cases
  • Use named templates in _helpers.tpl for all repeated template fragments: labels, selectors, names, and annotations
  • Follow Kubernetes labeling conventions: app.kubernetes.io/name, app.kubernetes.io/instance, app.kubernetes.io/version, app.kubernetes.io/managed-by
  • Document every value in values.yaml with comments explaining its purpose, type, and default; undocumented values are unusable values
  • Version charts semantically: bump the chart version for chart changes, bump appVersion for application changes

Techniques

  • Structure charts with Chart.yaml (metadata), values.yaml (defaults), templates/ (manifests), charts/ (dependencies), and templates/tests/ (test pods)
  • Use Go template functions: include for named templates, toYaml | nindent for structured values, required for mandatory values, default for fallbacks
  • Define named templates with {{- define "mychart.labels" -}} and invoke with {{- include "mychart.labels" . | nindent 4 }}
  • Use hooks with "helm.sh/hook": pre-install,pre-upgrade and "helm.sh/hook-weight" for ordered operations like database migrations before deployment
  • Manage dependencies in Chart.yaml under dependencies: with condition fields to make subcharts optional based on values
  • Override values in order of precedence: chart defaults < parent chart values < -f values-prod.yaml < --set key=value

Common Patterns

  • Environment Overlays: Maintain values-dev.yaml, values-staging.yaml, values-prod.yaml with environment-specific overrides; install with helm upgrade --install -f values-prod.yaml
  • Init Container Pattern: Use initContainers in the deployment template to run migrations, wait for dependencies, or populate shared volumes before the main container starts
  • ConfigMap Checksum Restart: Add checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} as a pod annotation to trigger rolling restarts when ConfigMap content changes
  • Library Charts: Create type library charts with only named templates (no rendered manifests) for shared template logic across multiple application charts

Pitfalls to Avoid

  • Do not hardcode namespaces in templates; use {{ .Release.Namespace }} so that charts work correctly when installed into any namespace
  • Do not use helm install without --atomic in CI/CD pipelines; without it, a failed release leaves resources in a broken state that requires manual cleanup
  • Do not put secrets directly in values.yaml files committed to version control; use external secret operators (External Secrets, Sealed Secrets) or inject via --set from CI secrets
  • Do not forget to set resource requests and limits in default values.yaml; deployments without resource constraints compete unfairly for node resources and are deprioritized by the scheduler
자주 묻는 질문

values 파일이란 무엇인가요?

이미지 이름이나 복제본 수처럼 차트가 템플릿을 바꾸지 않고 사용하는 설정 파일입니다.

왜 모든 값을 문서화하나요?

문서화되지 않은 값은 올바르게 쓰기 어렵다고 스킬은 말하므로, 각 값은 목적과 기본값을 설명해야 합니다.

차트 버전은 언제 바꾸나요?

스킬이 설명하듯, 차트 변경에는 차트 버전을, 애플리케이션 변경에는 앱 버전을 올립니다.

상세 정보

작성자의 원본 설명

Helm chart expert for Kubernetes package management, templating, and dependency management

repo: RightNow-AI/openfang

인기도

GitHub 스타
18k
순위
#10683
라이선스
Apache-2.0
업데이트
2026. 7. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬