Category "kubernetes-helm"

If condition checking value returned by helm template

I have a parent chart with 2 subcharts. The parent chart has global.myflag while the subcharts have myflag fields, in their respective values.yaml. I want the f

Kubernetes MetalLB External IP not reachable

I can't access to Network IP assigned by MetalLB load Balancer I created a Kubernetes cluster in k3s. Its 1 master and 1 workers. Each one has its own Private

How to uninstall rancher manually?

I installed rancher into existing kubernetes cluster from this tutorial, using these commands: helm repo add rancher-latest https://releases.rancher.com/server-

Can't change Helm zookeeper's storageClass in Sentry charts values.yaml

We want to use Sentry for error logging (on-prem for our use case) but since we use k8s for everything we chose the Sentry Kubernetes charts. We are using a clo

Kubectl create multiline secret

I'm trying to put a Service Account into a secret - I did it previously a year ago and it works but now - no matter how I approach it, the application doesn't s

Helm template arithmetic division

Anyone tried to make an arithmetic division in Helm? According to sprig/Math Functions, the following should work: {{ .Values.myvalue | div 2 }} However, t

Provide external yaml file to JCasC configScripts

I am configuring my Jenkins instance using jenkins-helm chart (https://github.com/jenkinsci/helm-charts/blob/main/charts/jenkins/VALUES_SUMMARY.md#jenkins-confi

Combining multiple k8s secrets into an env variable

My k8s namespace contains a Secret which is created at deployment time (by svcat), so the values are not known in advance. apiVersion: v1 kind: Secret type: Op

How to ensure every kubernetes node running 2 or more pods?

I know that DaemonSets ensure only one pod running in every node. I know that ReplicaSets ensure the number of pod replicas defined are running but doesn't ensu

Kubernetes ingress controller upgrade doesn't finish the upgrade

We have an issue upgrading our nginx ingress controller: We have thousands of ingress objects - all with the same ingress class, provided as an annotation and n

How to set a different namespace for child helm charts?

When you install a chart with a child chart that doesn't specify a namespace, Helm will use the one specified on command line via --namespace. Is it possible to

Helm, add checksum annotation from values

A third-party chart which I use a dependency allows extra annotations to be passed in from values file. However the annotation I want to pass in is checksum/con

Using variables in values YAML file

I'm wondering what is the best way to pass input into a values.yaml file using a template. I have a parent chart (called myapp for this example) defined which

How to reference a value defined in a template in a sub-chart in helm for kubernetes?

I'm starting to write helm charts for our services. There are two things I'm not sure how they are supposed to work or what to do with them. First: the release

How can you call a helm 'helper' template from a subchart with the correct context?

Helm charts define helper templates in _helpers.tpl which are used to create normalized names for the services. The standard form of the template for a service

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.

Deployment can't be recreated during helm upgrade because PersistentVolumeClaim and Service failed to be replace

I have application that is using Helm charts to be deployed. On first helm upgrade --install command everything works as expected but second time I have this er

Helm `toYaml` does not retain the order

Trying to get log4j2 section form values.yml using toYaml but it does not retain the order. log4j2.yml: |- {{ toYaml .Values.log4j2 | indent 4 }} output- log4j

airflow kubernetes default setup ERROR: relation "log" does not exist at character 13

I deployed the default helm chart for airflow 2. The postgres pod is reporting an error: ERROR: relation "log" does not exist at character 13 This appears af

Whats the brief factual difference between Kubernetes, Helm and Rancher (and others) [closed]

As a new starter in the world of DevOps, I've tried to find a one-pager that explains side by side what each of the following technologies do