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

Helm template converting to json

I would like to be able from Helm template file as below to insert template with toJson helm function as explained in the documentation : value: {{ include "mytpl" . | lower | quote…
firefighter
  • 41
  • 1
  • 1
  • 3
4
votes
3 answers

Terraform helm chart set value tolerations

I'm trying to pass toleration values into helm using terraform. But I have got different error messages. Default values of the chart are here. ... tolerations: [] ... I use this code. locals { victoria_tolerations = [{ "key" : "k8s-app",…
4
votes
1 answer

can't evaluate field Values in type string when using Helm template

I have k8s manifest such as below, packaged with Helm. apiVersion: v1 kind: ServiceAccount metadata: {{- template "myFunction" "blah" -}} I have _helper.tpl defining myFunction as below. {{- define "myFunction" }} {{- if .Values.nameOverride…
Piljae Chae
  • 987
  • 10
  • 23
4
votes
1 answer

Helm3 template error calling include: template: no template "microservice.labels" associated with template "gotpl"

I have helm 3 template created using helm create microservice command. it has below…
sfgroups
  • 18,151
  • 28
  • 132
  • 204
4
votes
1 answer

Is there a way to enable shareProcessNamespace for helm post-install hook?

I'm running a pod with 3 containers (telegraf, fluentd and an in-house agent) that makes use of shareProcessNamespace: true. I've written a python script to fetch the initial config for telegraf and fluentd from a central controller API endpoint.…
4
votes
0 answers

Persist Grafana using Helm Charts

Using the Helm Charts, is there a trick to get the Grafana to be in Persistence Mode. I have tried PVC and Stateful Sets. Neither will allow the pod to spin up. I have tried starting with no PV or PVC pre-created and with. Any pointers?
Sam Ware
  • 131
  • 9
3
votes
0 answers

How to install a Helm chart with the Go Helm-SDK from a pod running within the cluster?

Problem I have a Go project running in a Container on a Pod inside a Kubernetes cluster. I also have a local Helm Chart directory in that Container and I want to install it onto the cluster using the Helm-SDK. I have used the Helm-SDK before to…
3
votes
1 answer

How can evaluate field in range?

I trying to create a default template for many similar applications, I need share same PVC with two or more pod and need modify the chart for create ot not PVC, if already exists. This is my portion of values.yml about volumes: persistence: …
stecog
  • 2,202
  • 4
  • 30
  • 50
3
votes
1 answer

Helm Override not taking in Env specific application.properties

i am deploying my springboot application docker image on GCP by using helm charts .For env specific configuration i use helm-override.yaml file.However i noticed my configured values in application-stage.properties are not being taken by…
3
votes
1 answer

Why do Helm charts not contain a pv?

One of the things I noticed is that Helm charts that require persistence (e.g. Postgres) contain a persistent volume claim but not a default persistent volume. It seems that it is assumed that this should not be part of the Helm chart and should be…
Yonah Dissen
  • 1,197
  • 1
  • 8
  • 16
3
votes
2 answers

how to convert kubernetes deployment job into a kubernetes cron job using HELM Chart

i am running my spring boot application docker image on Kubernetes using Helm chart. Below is the details of the same templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "xyz.fullname" . }} labels: {{-…
Sanjay Naik
  • 264
  • 1
  • 4
  • 23
3
votes
1 answer

what's the meaning of $_ in helm template

I want to know what's the meaning of $_ in helm template. I konw helm template is using go sprig template: helm function_list But where can I find go template grammar document?
Bryan Chen
  • 139
  • 1
  • 13
3
votes
1 answer

How to load local file with cdktf for helm release?

I'd like to reference a local yaml file when creating a helm chart with cdktf. I have the following cdktf config: { "language": "typescript", "app": "npx ts-node main.ts", "projectId": "...", "terraformProviders": [ "hashicorp/aws@~>…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
3
votes
1 answer

The ALB listeners are not auto removed when I delete the corresponding ingress from EKS

I have deployed an AWS ALB Controller and I create listeners with ingress resources in a EKS cluster. The steps I followed are the following: I had an ingress for a service named first-test-api and all where fine I deploy a new Helm release [first]…
3
votes
2 answers

Pass values helm package

We are using helm charts to deploy our charts in Openshift. This is our workflow: We create a new version of the helm and docker image at each sprint/ e.g 1.0.0 (saving them in a snapshot artifactory) During the sprint we build several times the…
Fabry
  • 1,498
  • 4
  • 23
  • 47
1
2
3
43 44