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

How to use default if index does not exists

I have the following input: alerts: api_http_500: default_config: enabled: true override: user_1: enabled: false I wanna check if the enabled field exists for a user. If it not so I use the default one. I'm using index…
Brah0um
  • 315
  • 2
  • 15
2
votes
1 answer

Helm3 - validation: chart.metadata is required

I'm in the learning phase of Helm. I'm trying to create helm chart with simple pod definition file. But it's failed with the below error. Note : If i'm trying to run this command helm install --values=ghost-values.yaml stable/ghost --generate-name.…
KMG
  • 889
  • 2
  • 14
  • 36
2
votes
2 answers

How to make kubernetes pod have access to PostgreSQL Pod

I am trying local Kubernetes(Docker-on-mac), and trying to submit a spark job. The spark job, connects with a PostgreSQL database and do some calculations. The PostgreSQL is running on my Kube and since I have published it, I can access it from the…
JDev
  • 1,662
  • 4
  • 25
  • 55
2
votes
3 answers

Automatically deploy when configMap changes

Does anyone know how to get a Kubernetes deployment to automatically update when a configMap is changed?
Hammed
  • 1,457
  • 1
  • 24
  • 37
2
votes
1 answer

subdomain per branch/namespace on K8S

Hi i have a question when it comes to k8s and handling branches my namespaces have the following : an API deployment a NodePort service mapping the port 3000 of the deployment to port 80 a postgres instance to serve as a DB (Not important for this…
2
votes
1 answer

Modifying Environmental Variables of Helm Chart Dependencies without Forking

I am creating a Helm chart that depends on several Helm charts that are not maintained by me, and I would like to make some configurations to these subcharts. The configurations are not too complex, I just want to add a several environmental…
James Mchugh
  • 994
  • 8
  • 26
2
votes
4 answers

How to deploy a bunch of yaml files?

I would like to deploy a bunch of yaml files https://github.com/quay/quay/tree/master/deploy/k8s on my kubernetes cluster and would like to know, what is the best approach to deploy these at once.
softshipper
  • 32,463
  • 51
  • 192
  • 400
2
votes
2 answers

Auto rotation of generated random password

I have created a secret.yaml for generating a random password or my application and it works perfect. {{- if .Values.useSecurity -}} apiVersion: v1 kind: Secret metadata: name: {{ template "couchdb.fullname" . }} labels: type: Opaque data: {{…
Abhishek
  • 21
  • 1
  • 5
2
votes
1 answer

Install Jenkins Plugins offline using Helm charts

I am trying to deploy Jenkins using Helm on a Kubernetes Cluster behind a firewall. I have downloaded the Jenkins image and copied it to our internal repo. I am able to bring up Jenkins using this image from the internal repo. Is there a way to do…
2
votes
1 answer

Azure AKS with agic - how to create it with Terraform?

I'm currently setting up an AGIC (Kubernetes Application Gateway Ingress Controller) for an AKS environment (https://azure.github.io/application-gateway-kubernetes-ingress/setup/install-existing/#using-a-service-principal). As the whole environment…
2
votes
0 answers

Why may be the reason fo helm_resource in terraform script being terribly slow?

I've a terraform script for my AWS EKS cluster and the following pieces there: provider "helm" { alias = "helm" debug = true kubernetes { host = module.eks.endpoint cluster_ca_certificate = module.eks.ca_certificate …
Opal
  • 81,889
  • 28
  • 189
  • 210
2
votes
1 answer

How to integrate OpenLDAP to Keycloak correctly?

Installed OpenLDAP by helm helm install openldap stable/openldap Check data in the initialized server kubectl port-forward $OPENLDAP_POD_NAME 3890:389 ldapsearch -x -H ldap://localhost:3890 -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w…
rawmain
  • 309
  • 5
  • 15
2
votes
3 answers

Kubernetes autoscaling policies not working

I've added some scaling policies to my HorizontalPodAutoscaler but they are not being applied. The scaleUp and scaleDown behaviours are being ignored. I need a way to stop pods scaling up and down every few minutes in response to small CPU spikes.…
2
votes
0 answers

Unable to deploy helm chart on remote kubernetes server using org.unbroken-dome.helm plugin

I prefer https://unbroken-dome.github.io/projects/gradle-helm-plugin/ gradle plugin to deploy one of my application using helm chart on remote kubernetes cluster. Please find below code snippet : plugin and import section : plugins { id…
Himanshu Patel
  • 213
  • 2
  • 13
2
votes
1 answer

Differences between template and chart in Helm

I have just started experimenting with Helm kubernetes package manager. But chart vs template topic seems a bit confusing to me. I understand that by template I will create kubernetes yaml, which will create the objects and install them. However…
beatrice
  • 3,684
  • 5
  • 22
  • 49