Create helm chart
- Get link
- X
- Other Apps
Running the command:
bashhelm create newone
will generate a new Helm chart scaffold named newone in your current directory. Helm is a package manager for Kubernetes, and a "chart" is a package of pre-configured Kubernetes resources.
Here's what happens when you run that command:
It creates a directory called newone/, and inside you'll find a full chart structure like:
pgsql
newone/
├── .helmignore # Patterns to ignore when packaging
├── Chart.yaml # Chart metadata
├── values.yaml # Default configuration values
├── charts/ # Subcharts go here
├── templates/ # Kubernetes manifests go here
│ ├── deployment.yaml
│ ├── _helpers.tpl
│ ├── hpa.yaml
│ ├── ingress.yaml
│ ├── service.yaml
│ ├── serviceaccount.yaml
│ └── tests/
│ └── test-connection.yaml
What you can do with it:
-
Customize the
templates/files to define your Kubernetes resources. -
Adjust
values.yamlto set default values for those templates. -
Run
helm installto deploy your chart to a Kubernetes cluster.
It's basically a starting point for building your own deployable Helm chart.
Want to break down any of those files or see how to tweak them?
- Get link
- X
- Other Apps
Comments
Post a Comment