Questions tagged [kubernetes-helm]

Helm is a tool for managing packages (i.e. charts) of templated Kubernetes resources.

Helm simplifies deploying a set of related Kubernetes resources by defining a standard directory structure to hold a set of YAML files, by adding a templating system to produce the actual Kubernetes resources, and by allowing prepackaged applications or components to be directly imported or installed.

The Go text/template engine allows values to be filled into Kubernetes YAML files. In a typical chart, templates/database_statefulset.yaml might contain the fragment:

containers:
  - name: mysql
    image: "{{ .Values.image }}:{{ .Values.tag }}"

values.yaml would provide default values for these settings:

image: mysql
tag: latest

When you install the chart, you can provide specific values for these settings.

helm install . --set tag=5.6

This tag is appropriate for most questions about Helm, including questions about the templating system and the command-line tool. It will frequently also be appropriate to tag questions as related, and many questions relate to the more general system. Do not tag questions as ; that is for a different tool.

External links

6042 questions
2
votes
1 answer

Why is the api url blocked and helm not installed while I'm linking gitlab to Kubernetes?

I want to integrate Kubernetes cluster configured in on-premises environment with gitlab. When adding a cluster, I clicked Add Existing Cluster and filled in all other spaces, and the API URL entered the IP output by the following command. kubectl…
2
votes
2 answers

How to use --wait with post-install hook in helm?

I use an install script in a post-install hook. When I run helm install with --wait option, helm waits that all pods are ready, but helm does not launch post-install hooks script. Then, the pods are not yet ready (pods are waiting for install script…
Vincent J
  • 4,968
  • 4
  • 40
  • 50
2
votes
3 answers

How to increase or decrease the number of mongodb shards deployed via helm bitnami/mongodb-sharded?

I have deployed mongodb sharded cluster in kubernetes. via: helm install my-release bitnami/mongodb-sharded with default features of 2 shards and only 1 replica per shard. It is running fine but now I must increase the total number of shards to 4…
Prata
  • 1,250
  • 2
  • 16
  • 31
2
votes
1 answer

How to solve Prometheus chart Ingres/Service mapping?

Just installed stable/prometheus chart with below values and I'm able to access the server frontend from pods but not from host's web browser. My values.yaml: alertmanager: ingress: enabled: true annotations: …
dzhi
  • 1,534
  • 2
  • 18
  • 29
2
votes
2 answers

Helm: Pass a multiline env variable to deployment

I need to pass a private RSA key as ENV var to my deployment file, and I can't do it at the moment. containers: env: - name: MY_PRIVATE_KEY value: |+ {{ .Values.fpm.dot_env.MY_PRIVATE_KEY}} I've tried with indent, without…
OnekO
  • 41
  • 1
  • 8
2
votes
1 answer

skaffold init with helm charts

I'm trying to perform skaffold init. I'm getting this message: FATA[0000] one or more valid Kubernetes manifests is required to run skaffold I guess skaffold is looking for kubernetes manifests. However, I'm using helm charts in order to run and…
Jordi
  • 20,868
  • 39
  • 149
  • 333
2
votes
2 answers

Issues in Deployment.yaml file

I got an error in my Deoloyment.ysml file. I have made env in this file and assign values in values file. I got a syntax error in this file apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }} labels: …
2
votes
1 answer

How can I reference a helm array parameter with index

I have this helm parameters in a values.yaml file. spec: containers: - name: mycontainer image: my.image.url I would like to reference the name and image parameters from another kubernetes-resource.yaml file with index. I tried…
voutsasg
  • 43
  • 1
  • 6
2
votes
1 answer

OpenFaas - Request Entity Too Large

I have deployed openfaas through helm using the following command helm upgrade openfaas --install openfaas/opehelmnfaas --namespace default --set functionNamespace=default --set generateBasicAuth=true Everything is working properly but when I…
Louie Bafford
  • 53
  • 1
  • 6
2
votes
1 answer

Kubernetes: cert-manager certificate is keep in pending state

I have installed cert-manager 0.12.0 for SSL certificate. My Issuer file is apiVersion: cert-manager.io/v1alpha2 kind: ClusterIssuer metadata: name: letsencrypt-prod spec: acme: server: https://acme-v02.api.letsencrypt.org/directory …
Ramesh Murugesan
  • 4,727
  • 7
  • 42
  • 67
2
votes
0 answers

Kubernetes kerberos and kafka secret setup using helm

I have a requirement to consume from Kafka, which has SASA_PLAINTEXT protocol. My application is springboot app and I am trying to deploy it in kubernetes using helm chart. I have key tab added as kubernetes secret that I mounted as file using below…
Priya Tanwar
  • 117
  • 2
  • 12
2
votes
1 answer

Permission denied on key when encrypting secrets.yml file with helm and gcp_kms

I have a keyring and key in Google Cloud KMS. I want to use the key to encrypt a secrets.yml file using helm secrets enc I am the GCP project owner, and I have also given myself the specific encrypt/decrypt IAM role, which I don't think is needed,…
2
votes
1 answer

Kubernetes Jenkins slave with odd resource numbers

I'm running Jenkins pod with helm charts and having weird logs when starting jenkins jobs. The requested resources and limits are seems to be in default state - compared to what I set in values. helm install stable/jenkins --name jenkins -f…
CptDolphin
  • 404
  • 7
  • 23
2
votes
2 answers

Are there any problems using helm 2 and helm 3 in parallel?

Are there any problems when using helm 2 and helm 3 in parallel - on the same cluster? Reason behind is, that the Terraform helm provider is still NOT available for helm 3. But with another application we'd like to proceed with helm 3. Have you…
iptizer
  • 1,088
  • 1
  • 10
  • 19
2
votes
1 answer

helm chart stable/logstash - doesnt see elasticsearch in same ns

I've installed for local testing elasticsearch and logstash which seems to not see the local es - any idea how es is seen within the cluster/ns ? helm repo add elastic https://helm.elastic.co helm install elastic/elasticsearch --name…
1 2 3
99
100