Questions tagged [helm]
For questions about Helm - the Kubernetes Package Manager
76
questions
0
votes
1
answer
32
views
Can I get dependencies.child-chart.version from Helm template?
I have this tree:
📂environments
┣ 📂staging
┃ ┣ 📜Chart.yaml
┃ ┗ 📜values.yaml
📂services
┣ 📂my-service
┃ ┣ 📂helm
┃ ┃ ┣ 📂templates
┃ ┃ ┃ ┣ 📜deployment.yaml
┃ ┃ ┣ 📜Chart.yaml
┃ ┃ ┗ 📜...
0
votes
0
answers
10
views
Can helm print pod name if deployment is failed?
If I deploy a deployment to kubernetes using helm install ... --wait --debug, the installation can be failed because of failing of the pod (the command failed or timeout exceeded). But there is no pod ...
1
vote
1
answer
13
views
Combine Helm charts or leave separate?
I'm new to Helm and my first task was to recreate a simple pipeline. This pipeline is just:
PostgreSQL -> Spark, with ELK monitoring the instances.
Someone mentioned I may be able to combine all of ...
2
votes
1
answer
126
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 ...
0
votes
0
answers
9
views
How to properly escape brackets in ArgoCD?
I have an ArgoCD + Argo Workfows setup. In my manifests files, I am trying to escape double brackets since I have some helm apps, and if I manually edit the Argo workflow file with the expression ...
0
votes
2
answers
42
views
Container logs for helm install
Is it possible to print to helm install (or helm upgrade) output the logs of the deploying containers (logs that are available by kubectl logs command)?
0
votes
0
answers
14
views
How do I "abstract" services like Ingress and secrets containers with Helm to make them configurable by clients?
I have some clients that want to use a couple of my services that I plan to bundle as containers with a Helm chart. I want to be able to deliver these without making assumptions about where they ...
0
votes
1
answer
37
views
How can I find what options I can set with a `helm install` that the chart provides?
Let's say I want to install an arbitrary helm chart like mysql-operator/mysql-innodbcluster how can I find what options I set with --set?
0
votes
1
answer
90
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 ...
1
vote
1
answer
242
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 ...
0
votes
0
answers
17
views
Helm is not creating the consul server during release causing the client to fail
I'm deploying Consul using Terraform and the Helm provider.
resource "helm_release" "helm-consul" {
name = "consul"
repository = "https://helm.releases....
0
votes
1
answer
723
views
Helm Error: INSTALLATION FAILED : manifests contain a resource that already exists
When I run the helm command to install my-mysql-operator, I get
helm install my-mysql-operator mysql-operator/mysql-operator --namespace mysql-operator --create-namespace
I get the following error,
...
0
votes
1
answer
2k
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
1
answer
93
views
K8S + HELM. Create a persistence volume for mysql database
I am using K8S with Helm 3.
I am also using MYSQL 5.7 database.
How can I create MYSQL pod, that the database will persist (created on first time) after first time the pod is created, and even the pod ...
0
votes
0
answers
66
views
ArgoCD once only hook
I'm converting our existing deployment process to ArgoCD and using our existing helm chart but I'm not sure how to handle our existing hooks due to Argo not having as many as helm does. We have three ...
0
votes
0
answers
30
views
Any good pattern to deploy and maintain multiple helm-released API version routes along with Istio Virtual Service routing?
I am deploying multiple API versions (helm chart) from automated pipeline and I want to deploy an Istio virtual service to establish routing to those version (/v1, /v2, etc.). Each of these API helm ...
0
votes
2
answers
113
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
0
answers
48
views
install helm chart package without public container registry (offline,locally)
When I want to install a package in kubernetes cluster with helm chart, for example install gitlab with helm, during installation there is need to download docker image from a public registry and I ...
2
votes
2
answers
128
views
Using helm to manage an "environment?"
I'm new to Kubernetes, and hence helm, so I've been reading a lot, and teaching myself by setting up a cluster, services, deployments, and pods. In my case I use AWS EKS.
I now at least understand ...
4
votes
4
answers
2k
views
How to manage 10+ team environments with Helm and Kubernetes?
I'm looking for feedback on how we can improve our team environment and staging deployment process.
We currently have 10 agile teams, and set up our Kubernetes deployments through Helm as follows:
...
4
votes
3
answers
8k
views
Use one Helm chart for ALL microservices?
This is a follow up question to my post Parameterized Kubernetes manifest files?.
I understand more about Helm now, after lots of reading, including the Learn Helm book (which I recommend). I still ...
4
votes
2
answers
5k
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 ...
0
votes
0
answers
31
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
0
answers
40
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
1
answer
268
views
Deploying microservices in a consistent way using different gitlab repositories
I'm looking for a good organization to deploy our solution consisting in multiple apps using Gitlab and K8S.
Our SaaS app that is made of :
A backend app, mostly our API (django)
A user app (React)
...
4
votes
2
answers
12k
views
helm install causes nil pointer
I'm really a beginner with kubernetes and really struggle with this simple tutorial from baeldung.com
The only thing I did different (intentionally) was using a google cloud cluster instead of ...
2
votes
2
answers
83
views
How to structure/combine the installation of helm + deployment files
I have a Wordpress Helm chart, and a seperate ingress definition to go along with it, which I specified in a wordpress-deployment.yaml file.
My workflow for installing would be:
Install the helm ...
0
votes
2
answers
64
views
Explaining ingress installation with HELM
I was trying to install ingress helm charts but found a couple of tutorials but they just insert the different steps without proper explanation, But I want to know what exactly each step means:
...
0
votes
0
answers
29
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
1
answer
2k
views
Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job
I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this:
master-0
worker-0
worker-1
The network pod policy and all my nodes communication ...
1
vote
1
answer
304
views
how to change a rancher UI installed prometheus server config
I am learning rancher (still) and after deploying the monitoring chart (prom, grafana etc) i need to add more targets to the prometheus config (such as other bare-metal server and some QEMU too), I ...
0
votes
1
answer
2k
views
helm upgrade not working
I was running the older 2.16.0 version of ChartMuseum Helm Chart. I am trying to update it to use newer 3.1.0. When I try to upgrade using helm upgrade <release> <name> -n <namespace>...
0
votes
1
answer
958
views
helm upgrade fail with error: UPGRADE FAILED: "chart-repository" has no deployed releases
I am trying to upgrade a chart but when I run upgrade command, upgrade fails with the following error.
nit:~/copy> helm upgrade chart-repository chart-repository/
Error: UPGRADE FAILED: "chart-...
1
vote
0
answers
421
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
0
answers
247
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
1
answer
1k
views
503 Service Temporarily Unavailable using Kubernetes
I am having some issue with creating ingress for a nginx service that I deployed in a kubernetes cluster. I am able to open the web page using port forwarding, so I think the service should work.The ...
2
votes
1
answer
203
views
Tfs octopus migration to k8s and docker
My current client uses .net and .net core, tfs and deploys via octopus. They want to use helm, k8s and docker. With all of the environments, env variables are already in octopus.
I am thinking to ...
0
votes
1
answer
41
views
Terrafrom to declare both infra and application deployment in one state
Are there any advantages of maintaining both infrastructure (Infra-as-code) and application/service (helm chart deployment using helm_release provider of terraform ) under one state file?
I don't like ...
0
votes
1
answer
489
views
How to deploy loki-stack helm chart with CRIO?
I am trying to configure loki-stack using a helm chart to my k8s cluster.
Since my k8s cluster uses CRIO and not docker (which is common nowdays) I need to change the pipeline_stages: config map to ...
0
votes
1
answer
129
views
Is Helm not for me?
I've been studying Kubernetes and Helm lately (I'm new to both) and figuring out how I can fit them into my companies CI/CD process. On top of this, I want to adapt to the GitOps process, where you ...
1
vote
1
answer
339
views
Parameterized Kubernetes manifest files?
I'm learning Kubernetes, coming from an AWS/CloudFormation background to set up my company's infrastructure. One of the strengths of CloudFormation is the use a template that can be parameterized for ...
1
vote
1
answer
60
views
Is there a way to combine helm with some other tool for k8s configuration management without conflicts?
Currently I have a k8s project with multiple services which are managed by a helm chart. Said helm chart is installed on my local machine and I want to keep it this way if it's possible. But now I ...
5
votes
4
answers
3k
views
Original Helm chart gone - how can I find / get it from the cluster?
I'm connected to a cluster which has a release, from a chart, but it was installed by someone else who I think used a tweaked, locally-stored chart.
I don't have access to their original chart/repo. ...
0
votes
1
answer
27
views
Helm Repo: can it host dockerfiles and other image-building artifacts
I have a service that I want to port to Helm. It's a django application that requires memcached and postgresql and a forward proxy like nginx.
I would ideally like to have one repository with all that ...
1
vote
1
answer
930
views
Helm Installation fails with shared config maps
I have a couple of deployments in Kubernetes packaged using Helm. Both the deployments are different but they share the same config map.
When performing installation via Helm the first deployment is ...
8
votes
2
answers
3k
views
How is it a good practice to version your helm charts for each deployment?
I'm trying to set up a process to release a web app with helm in my company and I can't find a satisfying way.
Basically each for each push in a feature branch, I want to:
Build a docker image and ...
3
votes
1
answer
6k
views
How to add timeout to a helm chart?
I have a helm chart which pulls a lot of images from various registries and deploys a lot of pods. It runs a lot of k8s jobs before getting the pods up.
Overall, helm install command takes huge time, ...
0
votes
1
answer
55
views
How does Kubernetes terminate an instance after helm upgrade
I have a node.js application that is running on a Kubernetes cluster, I am using helm to manage it currently. I have ran into a bit of an issue, when the application starts it connects to a service ...
2
votes
1
answer
1k
views
GitLab CI/CD page listing many gitlab runners that no longer exist
I am running GitLab Runner using a Helm chart as described on the GitLab Runner Helm Chart page.
Everything seems to be working, but after about two months of running I see on my GitLab group that ...
0
votes
0
answers
515
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 ...