Questions tagged [helm]

For questions about Helm - the Kubernetes Package Manager

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
3k views

Helm charts: Can't access defined named templates in subcharts

I am having trouble accessing some named templates defined in the main chart from subcharts. As it is in the documentation that every defined named template is global, I'd like to get help on what I ...
1
vote
1answer
36 views

Helm: Long Running Jobs vs Long Running Hooks

I was wondering which would be more appropriate / idiomatic when writing a Helm-Chart: Perform long running operations (such as db-migration) as part of the helm install process via helm hooks and ...
1
vote
1answer
48 views

Gitlab pipeline + Jump host + execute HELM

What is worked: Steps: directly go to server via SSH (behind the JH) via SSH to another server pull from Artifactory for testing only executing HELM chart to pull from artifactory and deploy on k8s ...
1
vote
0answers
267 views

Unable to fetch metrics from custom metrics API: Internal error occurred

I am running a local Kubernetes cluster with Minikube on a Windows machine using --driver=hyperv. I am trying to set up an HPA (HorizontalPodAutoscaler) based on Pods custom metrics. Using Helm, I ...
1
vote
0answers
109 views

`helm install` consistently fails with different errors; subsequent `helm upgrade` works. How can I debug?

I am developing a Helm chart. When I helm install, I reliably get one of a handful of different errors saying something the chart deploys already exists, e.g.: Error: secrets "my-secret-name"...
0
votes
0answers
7 views

Restoring backed up data to influxdb pod via post-hook helm job

I have a influxdb pod created via helm chart from bitnami running in my kubernetes cluster with bind address enabled at 8088. I would like to import data into it after deployment of the pod. For this ...
0
votes
0answers
9 views

chartmuseum - how to clean cache with a retention

I have thousands of charts stored in GCP bucket, I don't want to delete them but for develop specifically I want to leave only last 20 in the cache. How can I achieve this?
0
votes
1answer
104 views

Helm how to use variables in values.yaml

In the values.yaml we have the below env values and they are refered by templates/deployment.yaml {{- toYaml .Values.env | nindent 12 }} env: - name: APPLICATION_PORT valueFrom: ...
0
votes
2answers
59 views

Prodding Helm to refresh a deployment?

I am using Flux to automatically deploy a Helm Release from a git repository to a Kubernetes cluster. If I directly edit a resulting deployment object's spec (using k9s or kubectl edit, e.g. to ...
0
votes
1answer
26 views

kubectl retrieve update time for the resource

I'm wondering whether it's possible to get the time where my resource was updated? e.g. via $ kubectl describe deployment/myapp I can see CreationTimestamp but I want to know the last time new ...
0
votes
0answers
25 views

Creating empty ConfigMaps but not overwriting existing ones

I frequently have this problem when doing Kubernetes or OpenShift deployments (with or without helm, but in this question I'd like to focus on a solution involving helm): Most of our microservices ...
0
votes
0answers
429 views

How can I ensure Helm doesn't install a dependency twice?

If I have a chart, say ChartA, that has a dependency on ChartB, I want to only install ChartB if it hasn't been installed already. Why? Let's say I run 2 copies of ChartA, and they both need a ...