Here is an example of how to install a basic Helm chart:
First, make sure that you have Helm installed on your machine. You can check by running
helm version
.Find a Helm chart that you want to install from the official Helm Hub or from a chart repository.
Run the following command to install the chart:
helm install <release-name> <chart-name>
Replace <release-name>
with a name for your release (e.g., my-release) and <chart-name>
with the name of the Helm chart you want to install (e.g., nginx).
- If the chart requires any configuration values, you can pass them in using the
--set
flag. For example:
helm install --set service.type=NodePort my-release nginx
This sets the type of the Kubernetes service created by the chart to NodePort.
- Once the installation is complete, you can check the status of your release using the following command:
helm status <release-name>
This will give you information about the resources created by the chart, such as pods, services, and config maps.
That’s it! You’ve successfully installed a Helm chart.