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
1 answer

how to use variables defined in helm templates inside files to be used in configmap

Helm newbie here. I am trying to loop through files and create a configmap with its contents. The file contents need to have variable defined inside the loop. Below is the configmap I am working with. apiVersion: v1 kind: ConfigMap metadata: name:…
Vijayendar Gururaja
  • 752
  • 1
  • 9
  • 16
0
votes
1 answer

Deploy and Upgrade pods in Namespace

I am working in a Java Springboot microservice-based complex application that comprises 30 services. All are containerized and from ECR, services are deployed inside the Kubernetes namespace in AWS. Every time, the namespace is purged and all…
0
votes
0 answers

App Mesh doesn't inject Envoy proxy to pod

I'm integrating app mesh to microservices on EKS. I have deployed the microservices and app mesh controller and labelled my workload namespace with the sidecar injector webhook, but the app mesh controller throws a reconcile error. I have been…
Raff
  • 420
  • 5
  • 9
0
votes
2 answers

Helm Convert chart labels multiline string to comma-separated string

I have labels as multiline string in _helpers.tpl as below. How can i convert this into comma separated list. _helpers.tpl:- {{- define "mongo.selectorLabels" -}} app: {{ include "mongo.name" . }} release: {{ .Release.Name }} {{- end…
SNR
  • 460
  • 5
  • 20
0
votes
1 answer

Helm chart kubernetes-dashboard. Cannot upgrade to version 5.0.0

Im trying to upgrade kubernetes-dashboard helm chart to version 5.0.0 When i run helm sync it gives me error Error: chart requires kubeVersion: >=1.19.0-0 which is incompatible with Kubernetes v1.18.0 My kubernetes versions are Client Version:…
AlexS
  • 927
  • 4
  • 16
  • 29
0
votes
1 answer

Not found 404 nginx: Unable to connect through ingress ip on minikube

Hi I'm new to Kubernetes and helm and have recently tried one tutorial from Pluralsight. As per the tutorial, my ingress file looks like this - apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ .Release.Name }}-{{ .Chart.Name…
axel
  • 21
  • 7
0
votes
1 answer

How to upgrade at once multiple releases with Helm for the same chart

I have multiple apps based on the same chart deployed with Helm. Let's imagine you deploy your app multiple times with different configurations: helm install myapp-01 mycharts/myapp helm install myapp-02 mycharts/myapp helm install myapp-03…
jmservera
  • 6,454
  • 2
  • 32
  • 45
0
votes
1 answer

Is it possible to have multiple default values.yaml files embedded in a chart?

I know I can run helm install -f or helm install --set and I already have my helm deployments setup with a default yaml and environment specific yamls that are applied via -f on deploy. But I have some cases where I want to easily apply a totally…
red888
  • 27,709
  • 55
  • 204
  • 392
0
votes
2 answers

Testing the existence of helm element defined in values.yaml

I am new in helm and currently come up with a situation where I need to test the existence of 2 parameters defined in values.yaml and if present, use the value of the same in sample.yaml. Note - This is sure that one of them will be present. For…
Aman
  • 63
  • 1
  • 6
0
votes
1 answer

trable with go-templates helm3

Im trying to write my 1st helm chart thats my deployment in this part: containerPort: {{ .Values.port }} ... its work buy not work in this: value: {{ .Values.port | quote }} value: {{ .Value.logs | quote }} i dont understand why... and error…
Swarovsky
  • 5
  • 3
0
votes
2 answers

Helm using different values.yaml without CDing into deployment directory

I have my values.yaml in my_project_directory under deployment as below C:\Users\Username\IdeaProjects\my-project\deployment\values.yaml I need to use different values.yaml based on certain triggers in AzureDevops. Current way I am running is (This…
Venkatesh Gotimukul
  • 741
  • 1
  • 9
  • 30
0
votes
1 answer

Can I switch k8s context during running helm upgrade command?

I have 6 shell aliases for switching context between k8s namespaces different k8s clusters. The contexts are set in kube config file. An example of alias is like this: alias kc11='kubectl config use-context cluster1-namespace-1' And My question…
Jan Matějka
  • 353
  • 2
  • 11
0
votes
1 answer

iterate though complex values.yaml using range in helm chart

I'm new here to helm world. I want to generate manifest from my values and sample.yaml so I trying to create a template from my sample.yaml files. Values.yaml prodapps: alpha: name: alpha image: alpha.azurecr.io/alpha:latest …
praveen
  • 179
  • 1
  • 3
  • 16
0
votes
0 answers

Error: elasticsearch has no deployed releases Error: plugin "2to3" exited with error

I am running helm3 2to3 convert --dry-run elasticsearch, but running into an issue. Any idea what could be the issue? 2021/08/18 15:52:41 NOTE: This is in dry-run mode, the following actions will not be executed. 2021/08/18 15:52:41 Run without…
Kumar
  • 199
  • 3
  • 13
0
votes
1 answer

Helm3 Kubernetes environment variable between upgrades

I have a ConfigMap where I have defined some environment variables like log_level.. and referencing them in the deployment. envFrom: - configMapRef: name: test_config_map After deployment, I have changed some of the…
PGS
  • 1,046
  • 2
  • 17
  • 38