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
0
votes
2 answers

Helm3 Upgrade dry run

I am trying to do a helm upgrade dry run. 1. helm upgrade -i $xyz-abc-ms xyz-abc-exe/target/classes/helm/xyz-abc \ --set…
Anjana Ouseph
  • 31
  • 2
  • 10
0
votes
1 answer

Helm 3.6.1 fails to fetch (Unauthorized) from authenticated repo

I added a new repo with the command: helm repo add --username --password Then, when trying to pull a chart from it with: helm pull / --version "$chart_version" --untar I am getting 401…
leoschet
  • 1,697
  • 17
  • 33
0
votes
1 answer

Init container for Helm3 multi pod deployment

I have a helm deployment which deploys 2 containers pod. Now I need to include init container to one of the container pod. I'm new to helm. Kindly share the snippet to achieve this. Here under spec I have defined 2 containers in which container 1…
user2439278
  • 1,222
  • 7
  • 41
  • 75
0
votes
1 answer

How to use a HELM-3 value a multi-line string

I'm having an nginx ConfigMap yaml file which is then mounted as nginx.conf. This config map contains the config in a multiline string starting like the following: data: nginx.conf: | worker_processes auto; pid /tmp/nginx.pid; : and…
hhue13
  • 11
  • 3
0
votes
2 answers

Helm3 Kubernetes cluster unreachable - x509: certificate signed by unknown authority

After login to an OpenShift cluster, I'm trying to run helm ls and getting the following error: Error: Kubernetes cluster unreachable: Get "https:///version?timeout=32s": x509: certificate signed by unknown authority I tried to…
OHY
  • 890
  • 1
  • 8
  • 14
0
votes
3 answers

How to download a helm chart as a file for templating?

I can successfully push a helm chart to my harbor registry: helm registry login -u robot$myrobo -p ... https://myregistry.mycompany.com helm chart save mychart.gz myregistry.mycompany.com/myrepo/mychart:0.0.0-1 helm chart push…
peer
  • 4,171
  • 8
  • 42
  • 73
-1
votes
2 answers

Helm template parse error - unexpected EOF

I have this template _service.yaml {{- define "common.service" -}} apiVersion: v1 kind: Service metadata: name: "{{ .Values.app.name }}-{{ .Values.app.environment }}-service" spec: selector: app: "{{ .Values.app.name }}-{{…
pri05
  • 75
  • 1
  • 11
-1
votes
1 answer

How I can attach a pvc to a pv released?

I am trying to deploy a pod in kubernetes using helm which use a persistent volume that it is going to disconnect its pvc each time that I redeploy. When I do that the persistent volume it goes to state "released" and my pod cannot attach it and…
-1
votes
1 answer

combination of helper template and values in helm

I am new to helm charts and I am building helm chart to deploy an app on kubernetes, as part of it I have created a deployment template as below, {{- $outer := . -}} {{- range $index, $service := .Values.myservices}} {{- with $outer…
Pradeep
  • 350
  • 1
  • 3
  • 13
-1
votes
1 answer

Helm: how set Kubernetes cluster Endpoint

I have two containers: one hosting the cluster (minikube) one where the deployment is triggered (with helm) When running elm install I get Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp…
user3579222
  • 1,103
  • 11
  • 28
-1
votes
2 answers

Helm super chart

We have 2 helm-charts: helm-chart-A which deploys: A-config-map A-deployment A-secret helm-chart-B which deploys: B-config-map B-statefulset B-secret Is it possible to create an empty super hart which include the above as dependencies and…
Fabry
  • 1,498
  • 4
  • 23
  • 47
-1
votes
1 answer

Bitnami postgresql change max_connections

I am installing postgresql using terraform on my kubernetes cluster. I am using bitnami https://artifacthub.io/packages/helm/bitnami/postgresql/11.6.19 this chart. My terraform resource is something like below resource "helm_release" "postgres" { …
Alpesh Jikadra
  • 1,692
  • 3
  • 18
  • 38
-1
votes
1 answer

how to reverse the effect of this command. kubectl config view

My helm install was giving some errors and I used this command to try to fix it. Now my cluster is gone kubectl config view --raw >~/.kube/config The error is: localhost:8080 was refused - did you specify the right host or port?
user101
  • 1
  • 1
-1
votes
1 answer

Helm v3.7 How to specify repository name of chart

i just upgraded helm to the latest version. We were still running on a version before the breaking changes of 3.7. So far we have pushed a chart (in Azure Pipeline) into the repo (ACR) as follows: - script: | helm chart save Chart…
DaveVentura
  • 612
  • 5
  • 19
-1
votes
1 answer

need to create a Redis release, indicating that it generates 2 replicas

I am newbie in helm. I need help for get something like the image. https://i.stack.imgur.com/pt5J5.jpg First I make this: $ helm create mychart $ I open mychart and open the file values.yaml in replicaCount I put 3 $ helm install my-release…
1 2 3
43
44