To install a chart identified as development with helmfile, follow these steps:
Ensure you have helmfile installed on your local computer or Kubernetes environment.
Create a new directory for your helmfile deployment file and navigate to it:
mkdir my-helmfile
cd my-helmfile
touch helmfile.yaml
repositories:
- name: myrepo
url: https://myrepo.com/charts/
releases:
- name: mychart-dev
chart: myrepo/mychart
namespace: development
values:
- values-dev.yaml
Here, we're defining a chart named "mychart" from a repository hosted at "https://myrepo.com/charts/". This chart will be deployed in the "development" namespace along with the values defined in "values-dev.yaml".
touch values-dev.yaml
image:
tag: dev
replicas: 2
Here, we're defining an image tag of "dev" and 2 replicas for our chart.
helmfile apply
This will use the configuration defined in helmfile.yaml to install the chart in your Kubernetes environment.
kubectl get pods -n development
This will show you all the pods running in the "development" namespace, including the pods created by your chart.
That's it! You've successfully installed a chart identified as development with helmfile.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-06-07 11:00:00 +0000
Seen: 11 times
Last updated: Aug 09 '21
What is the method to retrieve window.location.href in Elm?
How to incorporate Knative service and Contour in conjunction with Ingress?
Is it possible to utilize both kustomize and helm?
How can a list be passed to helm using the terraform helm_release provider?
What are the ways to extend data retention in the Jenkins Prometheus plugin?
What measures can I take to prevent my menu items from overlapping in my mobile navigation?
While using helm3, how can the error message "Invalid auth configuration file" be restated?