helm-charts
БесплатноБез исполняемых скриптовНе проверенCreates and manages Helm charts for Kubernetes deployments. This skill should be used when packaging applications for Kubernetes using Helm, creating…
от mjunaidca★ 27 звёзд на GitHubОб этом скилле
Helm Charts Skill
Overview
Helm is the package manager for Kubernetes. It packages Kubernetes manifests into reusable charts that can be versioned, shared, and deployed with customizable values.
Core Concepts
What is a Helm Chart?
A chart is a collection of files that describe a related set of Kubernetes resources:
mychart/
├── Chart.yaml # Chart metadata (name, version, dependencies)
├── values.yaml # Default configuration values
├── charts/ # Dependency charts
├── templates/ # Kubernetes manifest templates
│ ├── deployment.yaml
│ ├── service.yaml
│ ├── ingress.yaml
│ ├── configmap.yaml
│ ├── secret.yaml
│ ├── _helpers.tpl # Template helpers
│ └── NOTES.txt # Post-install notes
└── .helmignore # Files to ignore when packaging
Key Files
| File | Purpose |
|---|---|
Chart.yaml |
Metadata: name, version, appVersion, dependencies |
values.yaml |
Default configuration values (overridable) |
templates/ |
Go-templated Kubernetes manifests |
_helpers.tpl |
Reusable template snippets |
Chart.yaml Structure
apiVersion: v2 # Helm 3 uses v2
name: taskflow # Chart name
description: TaskFlow Platform # Short description
type: application # application or library
version: 1.0.0 # Chart version (SemVer)
appVersion: "1.0.0" # Application version
# Dependencies (optional)
dependencies:
- name: postgresql
version: "12.x.x"
repository: "https://charts.bitnami.com/bitnami"
condition: postgresql.enabled
values.yaml Pattern
# Global settings
global:
imageRegistry: ""
imagePullSecrets: []
# Per-service configuration
api:
replicaCount: 1
image:
repository: taskflow/api
tag: "latest"
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 8000
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
env:
DATABASE_URL: ""
SSO_URL: "http://sso:3001"
# Feature flags
postgresql:
enabled: true
auth:
postgresPassword: "postgres"
database: "taskflow"
Template Syntax
Accessing Values
# templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "taskflow.fullname" . }}
labels:
{{- include "taskflow.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.api.replicaCount }}
selector:
matchLabels:
{{- include "taskflow.selectorLabels" . | nindent 6 }}
template:
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.api.image.repository }}:{{ .Values.api.image.tag }}"
ports:
- containerPort: {{ .Values.api.service.port }}
env:
- name: DATABASE_URL
value: {{ .Values.api.env.DATABASE_URL | quote }}
Helper Templates (_helpers.tpl)
{{/*
Expand the name of the chart.
*/}}
{{- define "taskflow.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
*/}}
{{- define "taskflow.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "taskflow.labels" -}}
helm.sh/chart: {{ include "taskflow.chart" . }}
{{ include "taskflow.selectorLabels" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "taskflow.selectorLabels" -}}
app.kubernetes.io/name: {{ include "taskflow.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
Essential Commands
Create New Chart
helm create mychart
Install Chart
# From local directory
helm install my-release ./mychart
# With custom values file
helm install my-release ./mychart --values custom-values.yaml
# With inline value overrides
helm install my-release ./mychart \
--set api.replicaCount=3 \
--set api.image.tag=v2.0.0
# To specific namespace (create if needed)
helm install my-release ./mychart \
--namespace production \
--create-namespace
# Dry run (preview without installing)
helm install my-release ./mychart --dry-run --debug
Upgrade Release
helm upgrade my-release ./mychart --values new-values.yaml
Rollback
helm rollback my-release 1 # Rollback to revision 1
Uninstall
helm uninstall my-release
List Releases
helm list
helm list --all-namespaces
Debug Templates
# Render templates without installing
helm template my-release ./mychart
# Debug with computed values
helm template my-release ./mychart --debug
Multi-Service Chart Pattern
Fo
Установить helm-charts в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл helm-charts?
Creates and manages Helm charts for Kubernetes deployments. This skill should be used when packaging applications for Kubernetes using Helm, creating Chart.yaml, values.yaml, and templates. It covers chart structure, templating, dependencies, and deployment patterns. Use this skill for Phase IV+ Kubernetes deployments.
Как установить скилл helm-charts?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл helm-charts запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic