Questions tagged [helm3]

Version 3 is the only currently-supported version of the Kubernetes Helm deployment tool. Use [kubernetes-helm] instead of this tag.

The tool deploys applications as "charts" of templated YAML files. Version 3 of Helm was released on November 13, 2019; version 2 became unsupported a year later, on November 13, 2020.

There are only minor differences in the templating engine between the two versions. The major differences are operational: Helm 3 no longer requires an in-cluster "Tiller" management tool, and its command-line options are different for some common commands. Questions about migrating Helm 2 to Helm 3 or other non-programming questions are not generally on-topic for Stack Overflow, and might be better asked on related sites like Server Fault or DevOps.SE.

Questions with this tag should almost always be tagged with , and often with either or both of and , depending on the specifics of the question. However, since the Helm 3 is the only currently supported version and since template language has remained essentially the same between the two versions, it is not usually necessary to tag a question as .

654 questions
2
votes
1 answer

How does helm upgrade handle the deployment update?

Let's say we have a helm chart for an app and we want to upgrade that app over time by changing the deployment's image version and use: helm upgrade --install my-app-release; The question is: does helm use the rolling update strategy defined in the…
Rabi
  • 147
  • 2
  • 12
2
votes
1 answer

Helm lookup always empty

While deploying a Kubernetes application, I want to check if a resource is already present. If so it shall not be rendered. To archive this behaviour the lookup function of helm is used. As it seems is always empty while deploying (no dry-run). Any…
2
votes
1 answer

Updating Deprecated apiVersions in helm charts

We have many applications for which we have created helm charts. Now we need to upgrade our k8s clusters to v1.22. Is there any efficient way to update the charts to support the latest APIs in v1.22? Are there any tools or tips to script the above…
Sanjay M. P.
  • 919
  • 1
  • 16
  • 33
2
votes
1 answer

helm pass all values files from specific folder

I have a folder containing multiple values.yaml files and I would like to pass all the yaml files in that folder as an argument to helm install. It is possible to use like helm install example . -f values/values1.yaml -f values/values2.yaml But…
Encycode
  • 530
  • 2
  • 7
  • 18
2
votes
0 answers

Can I get dependencies.child-chart.version from Helm template?

I have this tree: environments ┣ staging ┃ ┣ Chart.yaml ┃ ┗ values.yaml services ┣ my-service ┃ ┣ helm ┃ ┃ ┣ templates ┃ ┃ ┃ ┣ deployment.yaml ┃ ┃ ┣ Chart.yaml ┃ ┃ ┗ values.yaml environments/staging/Chart.yaml look like this: apiVersion:…
benCat
  • 124
  • 3
  • 7
2
votes
2 answers

Helm Chart - Process File result with multiple lines

I have a ConfigMap where I am including a file in its data attribute and I need to replace several strings from it. But I'm not able to divide it (the "replaces") into several lines so that it doesn't get a giant line. How can I do this? This is…
Ninita
  • 1,209
  • 2
  • 19
  • 45
2
votes
2 answers

How can we override dependencies "version" in helm chart Chart.yaml file?

I am wondering and apparently have not yet found anywhere if there is a way via which I can specifically override the value of "version" key's value from the dependencies chart in Helm # Chart.yaml dependencies: - name: bitnami/postgresql version:…
Nin
  • 99
  • 1
  • 8
2
votes
1 answer

HELM chart for Apache degraded in argocd

I have tried using a HELM chart repo for Apache via ArgoCD but it shows up degraded in the console but is in sync. I am using the Kubernetes cluster on docker desktop for Mac (M1 chip). Not quite sure what the issue is. The helm chart details…
BigRed247
  • 107
  • 2
  • 14
2
votes
1 answer

Error: YAML parse error on deployment.yaml: error converting YAML to JSON: yaml: line 50: mapping values are not allowed in this context

I get an error when I install the helm chart I created. helm install -f values.yaml --dry-run testbb ./ I change the indent and make it like yamls. I use "kubectl get -o yaml" many times, but it doesn't work. Line 50 in yaml file contains volume…
Mustaine
  • 21
  • 1
  • 2
2
votes
1 answer

Helm Construct dynamic configmap from multiple configuration YAML file

I have 2 files as follows: _config-dev.yaml frontend: NODE_ENV: dev REACT_APP_API_URL: 'https://my-dev-apiurl/' database: DB_USER: admin-dev DB_PASSWORD: password-dev _config-stag.yaml frontend: NODE_ENV: stag REACT_APP_API_URL:…
Encycode
  • 530
  • 2
  • 7
  • 18
2
votes
1 answer

Redis master/slave replication on Kubernetes for ultra-low latency

A graph is always better than the last sentences, so here is what I would like to do : To sum up: I want to have a Redis master instance outside (or inside, this is not relevant here) my K8S cluster I want to have a Redis slave instance per node…
Benjamin Barrois
  • 2,566
  • 13
  • 30
2
votes
1 answer

Which rights are missing? Unable to continue with install: could not get information about the resource: podsecuritypolicies.policy

I am trying to install loki with helm $ helm upgrade --install loki grafana/loki-stack I got the following error msg: Release "loki" does not exist. Installing it now. Error: rendered manifests contain a resource that already exists. Unable to…
ZoliloZ
  • 49
  • 4
2
votes
0 answers

How to install Elasticsearch on Kubernetes using Helm (3 nodes) and production SSL certificates

I am trying to install Elasticsearch using Helm using a 3 nodes setup (2 master, 1 replica). But I am not able to make it work This is my config file values.yml: clusterName: "my-cluster" nodeGroup: "master" roles: master: "true" ingest:…
Peter Schwarz
  • 231
  • 2
  • 10
2
votes
1 answer

how to connect to local network from kubernetes pod

I have a k8s cluster set up on a few raspberry pis for local development. I am trying to use a database running in the local network however I can't seem to get the pods to connect to the db. I have tried using a service and endpoint…
Marcus Ruddick
  • 9,795
  • 7
  • 28
  • 43
2
votes
2 answers

Minio deployment in Microk8s does not start properly

I'm trying to deploy a Minio instance (not the operator) on a kubernetes server (Microk8s) using the helm chart provided in https://github.com/minio/minio/tree/master/helm/minio. To match with my test server, I did some modifications : The number…