How to Render a Helm Chart into Kubernetes Manifests
Input Your Helm Chart Files
Start with your Helm chart components. Whether you need to deploy without Helm, debug template rendering, or convert to plain Kubernetes, you'll need these three files:
Example: Helm Chart Input
Here's what a typical Helm chart structure looks like:
Chart.yaml:
apiVersion: v2 name: nginx version: 0.1.0 appVersion: "1.21" description: A Helm chart for Nginx
values.yaml (excerpt):
replicaCount: 3 image: repository: nginx tag: "1.21" pullPolicy: IfNotPresent
How the Templates Are Rendered
The page runs your Helm templates a moment after you stop typing, with the same rules Helm uses:
Example: Template Rendering
See how Helm templates transform into plain Kubernetes YAML:
Before (Helm Template):
replicas: {{ .Values.replicaCount }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}After (Kubernetes Manifest):
replicas: 3 image: nginx:1.21
Customize Rendering Options
Configure how your Helm chart gets rendered into Kubernetes manifests:
Download and Deploy Kubernetes Manifests
Get your rendered Kubernetes manifests ready for deployment:
kubectl apply --dry-run=server -f on the file, then apply itGoing the other way? The Kubernetes to Helm Chart converter turns plain manifests into a chart, and the Helm Chart.yaml validator checks the chart metadata.
Frequently Asked Questions
Why render a Helm chart into plain Kubernetes manifests?
To see exactly what a chart will create before it reaches a cluster, to debug a template that renders wrong, to review changes in a pull request, or to deploy with kubectl or a GitOps tool where Helm is not installed. The output is the same YAML helm template prints for the chart.
Which template features does the renderer understand?
It runs Go templates the way Helm does: .Values, .Chart, .Release and .Capabilities (with the defaults helm template uses, Kubernetes v1.31.0), if / else if / else, with, range over lists and maps with $key and $value, variables, define, include, template and tpl, plus the functions charts use most: default, quote, squote, required, toYaml, toJson, nindent, indent, trunc, trimSuffix, printf, upper, lower, replace, contains, dict, list, hasKey, index, len, ternary, coalesce, b64enc, sha256sum, semverCompare and the math helpers. A function it does not run, such as now, randAlphaNum, genCA or fromYaml, stops the render with a message that names it and its line, so you never get half-rendered YAML.
Why does 8901240544102066246 come out as 8.901240544102066e+18?
Because Helm does the same. Helm reads every number in values.yaml as a 64-bit float, so a 19-digit ID loses its last digits, 14.50 prints as 14.5 and 1000000 as 1e+06. Helm also reads YAML 1.1, where yes means true and 00501 is the octal number 321. The page shows what Helm would really render and lists those values in a note above the output; put them in quotes in values.yaml ("8901240544102066246", "00501") to keep them exactly as written.
How do I paste a chart with several template files?
Paste them one after another in the Templates tab with a --- line between files, and include your _helpers.tpl so its define blocks are available to every template. If a template includes a helper you did not paste, such as mychart.fullname or mychart.labels, the page uses the version helm create writes and tells you so in a note.
Is the output identical to helm template?
The rendered values and structure are the same; the page was tested against helm template 3.16 on the default helm create chart and on charts full of numbers, loops and helpers. A few things differ: documents keep the order you pasted them in (helm sorts them by kind), there are no # Source: comment lines, and NOTES.txt, subcharts and other files in the chart folder are not read. Run helm template or helm lint on the real chart before you deploy.
What happens when my template has a mistake?
Rendering stops and the error names the problem and where it is: an {{ if }} without {{ end }}, a value that is missing in values.yaml (nil pointer), comparing a number with text, a YAML error in values.yaml, or rendered output that is not valid YAML because of indentation. Each message gives the line and column, the same places Helm would complain about.
Is my chart uploaded anywhere?
No. The chart is rendered in your browser and is not sent to a server or kept anywhere, so values with passwords or internal hostnames stay on your computer. Reloading the page starts with empty editors.
Related Tools
Docker Compose to Kubernetes
Convert Docker Compose files to Kubernetes manifests with Deployments, Services, and PVCs
Kubernetes to Docker Compose
Convert Kubernetes manifests to Docker Compose format for local development
Kubernetes YAML Fixer
Fix broken Kubernetes manifests automatically, repair Deployment, Service, Pod, and ConfigMap YAML errors
Docker Compose to Helm
Generate complete Helm charts from Docker Compose files with templates and values
Kubernetes to Helm Chart
Generate Helm charts from Kubernetes manifests with Chart.yaml, values.yaml, and templates
Kustomize to Helm
Convert Kustomize configurations to Helm charts with templates and values