跳到正文
cccskills
免费在 GitHub 公开

helm

Create reusable Helm charts, packages of Kubernetes deployment templates and settings. The skill guides environment configuration, dependency management, shared templates, and release procedures so applications can be deployed across environments with fewer template changes.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

集成工具Kubernetes
查看安装方法

适用场景

  • Creating reusable Helm charts
  • Separating development and production settings
  • Managing dependencies and migration order
  • Restarting workloads after configuration changes

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ansible

免费

Create Ansible automation for configuring and updating servers. Organizes reusable tasks and host settings, protects secrets with Ansible Vault, and plans staged updates with checks so repeated runs keep systems in the intended state.

中文简介正在准备中。当前显示英语简介。

  • Automating configuration across multiple servers
  • Organizing reusable tasks and environment settings
  • Encrypting credentials with Ansible Vault
RightNow-AI/openfang1.8万2026年7月2日 更新

Test and debug REST and GraphQL APIs using curl, httpie, Postman collections, or scripted tests. Check authentication, invalid inputs, pagination, and response details to identify failures that a successful status code alone may miss.

中文简介正在准备中。当前显示英语简介。

  • Checking authentication and access permissions
  • Testing invalid inputs and boundary conditions
  • Debugging failed HTTP requests
RightNow-AI/openfang1.8万2026年7月2日 更新

aws

免费

Plan, deploy, and manage AWS infrastructure across computing, storage, networking, and serverless services. Get guidance on access permissions, backups, auditing, and cost management using AWS CLI and tools that define infrastructure in code.

中文简介正在准备中。当前显示英语简介。

  • Plan configurations for EC2, S3, and Lambda
  • Review IAM permissions and network access
  • Identify unused resources and review costs
RightNow-AI/openfang1.8万2026年7月2日 更新

azure

免费

Helps design and provision Microsoft Azure infrastructure using az CLI and Bicep configuration files. Covers choosing application hosting services, managing identities and secrets, designing networks, setting up monitoring, and organizing resources for cost management.

中文简介正在准备中。当前显示英语简介。

  • Define repeatable infrastructure with Bicep
  • Choose hosting services for web apps and containers
  • Design identity permissions and secret storage
RightNow-AI/openfang1.8万2026年7月2日 更新

Automate website searches, logins, form entry, and price comparisons using Playwright, a browser automation tool. Provides workflows for locating page elements, checking results, and recovering from navigation errors or missing elements.

中文简介正在准备中。当前显示英语简介。

  • Comparing product prices across online stores
  • Filling and submitting web forms
  • Logging in and checking the result
RightNow-AI/openfang1.8万2026年7月2日 更新

ci-cd

免费

Design automated build, test, and deployment workflows for GitHub Actions, GitLab CI/CD, and Jenkins. Covers job ordering, dependency caching, secret handling, and gradual releases that use health checks before expanding deployment.

中文简介正在准备中。当前显示英语简介。

  • Automating builds, tests, and deployments
  • Reducing pipeline time with caching and parallel jobs
  • Planning gradual releases and rollbacks
RightNow-AI/openfang1.8万2026年7月2日 更新

查看 RightNow-AI 的全部技能

报告此技能的问题