Loading Kubernetes to Helm Chart Converter...

How to Convert Kubernetes Manifests to a Helm Chart

Step 1

Input Your Kubernetes Manifests

Start with the Kubernetes manifests you already apply with kubectl. The page packages them as a Helm chart you can install, upgrade and roll back:

•
Paste manifests: Deployments, Services, ConfigMaps or anything else, separated by ---, or a kind: List from kubectl get -o yaml
•
Upload a file: Pick a .yaml or .yml file from your computer
•
Try the sample: Click Sample to load an nginx Deployment and its Service
Step 2

What the Chart Contains

Every file of the Helm chart is shown in the output, in the same layout as the ZIP:

•
Chart.yaml: Chart metadata with name, version, description
•
values.yaml: Replica counts, images, container resources, env values, Service types and ConfigMap data, grouped by resource
•
templates/: One file per resource, written as you pasted it, with those values read from values.yaml
•
_helpers.tpl: The usual name, fullname and chart helpers, plus one that puts an image reference back together
Step 3

Customize Chart Options

Click Options to fill in Chart.yaml:

•
Chart Name: Lowercase letters, digits and dashes; anything else is changed and a note says so
•
Version: A SemVer version such as 0.1.0, which Helm requires
•
App Version: The version of the app the chart deploys
•
Description: One line about the chart
Step 4

Download and Install the Chart

Take the chart to your cluster:

•
Download: A ZIP with the chart in its own folder, ready for helm install my-release ./mychart
•
Copy: Every file as one text, each marked with its path
•
Check it first: Run helm lint and helm template, or open the chart in the Helm Chart Validator. To go the other way, the Helm to Kubernetes converter renders a chart back to plain manifests.

Frequently Asked Questions

What ends up in values.yaml?

Replica counts, container images (split into repository, tag and digest), container resources, env entries that have a plain value, the type of each Service and the data of each ConfigMap. Values are grouped by resource name and kind, for example web.deployment.replicaCount or web.service.type. Everything else, including names, labels, selectors, ports, probes and volumes, stays in the template exactly as you wrote it.

Will helm template give me back the manifests I pasted?

Yes, apart from three labels: helm.sh/chart, app.kubernetes.io/managed-by and app.kubernetes.io/instance are added to each resource unless you already set them. The rendered YAML has the same values and types as your input, and the chart passes helm lint. Comments are not carried over.

Why is every string in values.yaml in quotes?

Helm reads values.yaml the YAML 1.1 way, so an unquoted yes becomes true, 00501 becomes the number 321 and 14.50 becomes 14.5, while a long ID like 8901240544102066246 is rounded. Quoted, they stay text, and the templates write them back with quote, so the env value or ConfigMap entry you get is exactly what you typed.

Can I convert many resources at once?

Yes. Paste several manifests separated by ---, or a kind: List from kubectl get -o yaml. Each resource gets its own template file named after its name and kind, such as web-deployment.yaml. Deployments, StatefulSets, DaemonSets, Jobs, CronJobs and Pods get their images and env values moved into values.yaml; any other kind is kept as a plain template.

How do I install the chart?

Download the ZIP, unzip it and run helm install my-release ./mychart (use the chart name you set in Options). Resource names are kept as they were, so installing the same chart twice in one namespace would clash. If you need several copies, change metadata.name to use the fullname helper in _helpers.tpl.

What happens to {{ }} text and Secrets in my manifests?

Text that contains {{, such as a Prometheus alert in a ConfigMap, is escaped so Helm prints it instead of trying to run it. Secret data is left in its template as you pasted it, so move real secrets out of the chart before you share or commit it.

Are my manifests uploaded anywhere?

No. The chart is built in your browser and nothing is sent to a server or kept. Reloading the page starts with an empty editor.