helm create

Create a new chart with the given name

Synopsis

This command creates a chart directory along with the common files anddirectories used in a chart. It provides a basic example and is notmeant to cover all Kubernetes resources.

For example, ‘helm create foo’ will create a directory structure that lookssomething like this:

  1. foo/
  2. |
  3. |- .helmignore # Contains patterns to ignore when packaging Helm charts.
  4. |
  5. |- Chart.yaml # Information about your chart
  6. |
  7. |- values.yaml # The default values for your templates
  8. |
  9. |- charts/ # Charts that this chart depends on
  10. |
  11. |- templates/ # The template files
  12. |
  13. |- templates/tests/ # The test files

‘helm create’ takes a path for an argument. If directories in the given pathdo not exist, Helm will attempt to create them as it goes. If the givendestination exists and there are files in that directory, conflicting fileswill be overwritten, but other files will be left alone.

The chart that is created by invoking this command contains a Deployment, Ingressand a Service. To use other Kubernetes resources with your chart, refer toThe Chart Template Developer’s Guide.

  1. helm create NAME [flags]

Options

  1. -h, --help help for create
  2. -p, --starter string The name or absolute path to Helm starter scaffold

Options inherited from parent commands

  1. --debug Enable verbose output
  2. --home string Location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
  3. --host string Address of Tiller. Overrides $HELM-HOST
  4. --kube-context string Name of the kubeconfig context to use
  5. --kubeconfig string Absolute path of the kubeconfig file to be used
  6. --tiller-connection-timeout int The duration (in seconds) Helm will wait to establish a connection to Tiller (default 300)
  7. --tiller-namespace string Namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.