Questions tagged [helm]

For questions about Helm - the Kubernetes Package Manager

Filter by
Sorted by
Tagged with
9 votes
1 answer
1k views

How to make Tiller highly available?

I'm using helm to deploy my services to a Kubernetes cluster. I want to improve the service availability of my tiller pod. So I scaled the tiller deployment to 2 replicas. Helm is working as before ...
user avatar
7 votes
2 answers
10k views

Why does Helm time out on almost every action?

I'm trying to set up helm for the first time and I'm having troubles. First, I've created account with cluster-admin role. (According to https://github.com/kubernetes/helm/blob/master/docs/rbac.md#...
user avatar
  • 201
7 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 ...
user avatar
  • 191
7 votes
1 answer
1k views

What is the impact of using Helm Deployments instead of StatefulSets for Databases like MongoDB or MySQL?

The definition of a stateless app seems to apply to database servers like MongoDB or MySQL. I found Helm Charts as a kind of template-repository for Kubernetes. However, the stable builds all use ...
user avatar
  • 211
6 votes
1 answer
9k views

How to pull a docker image from a private docker registry using Helm?

When the default values.yaml is inspected it is not clear how to pull a private docker image. # Default values for sonatype-nexus-apt. # This is a YAML-formatted file. # Declare variables to be ...
user avatar
  • 12.6k
5 votes
2 answers
12k views

Helm install or upgrade release failed on Kubernetes cluster: the server could not find the requested resource or UPGRADE FAILED: no deployed releases

Using helm for deploying chart on my Kubernetes cluster, since one day, I can't deploy a new one or upgrading one existed. Indeed, each time I am using helm I have an error message telling me that it ...
user avatar
4 votes
3 answers
7k 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 ...
user avatar
  • 285
4 votes
2 answers
10k views

helm - cannot get resource "namespaces" in API group

I installed Kubernetes, helm on the Ubuntu 16.04.6 Box, I want to deploy kubernetes-dashboard using helm but getting below error while installing it $ helm install stable/kubernetes-dashboard --name ...
user avatar
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: ...
user avatar
  • 1,269
4 votes
1 answer
3k views

How to use same Helm dependency in many charts?

For example, I have this charts structure: ├── parentChart │   ├── charts │   │   ├── childChart1 │   │   │   ├── charts │   │   │   │   └── postgresql-3.11.6.tgz │   │   │   ├── Chart.yaml │   │   │ ...
user avatar
4 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. ...
user avatar
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 ...
user avatar
  • 41
4 votes
2 answers
11k 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 ...
user avatar
  • 43
4 votes
2 answers
2k views

Automate Helm's tiller installation with Terraform

I need to be able to generate disposable kubernetes environments using terraform. These environments should use helm for application deployment and ideally have tiller installed during the terraform ...
user avatar
  • 183
3 votes
2 answers
7k views

Kubernetes on k3s can't resolve domains from custom dns server (fritz.box with dnsmasq)

I have a dns server running at 192.168.0.19 for custom domains like .fritz.box. Having a single node cluster on k3s, Rancher was installed using a subdomain server2.fritz.box using this command: ...
user avatar
  • 191
3 votes
1 answer
5k 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, ...
user avatar
3 votes
1 answer
2k views

Stolon vs CrunchyData for HA Postgresql

I'm using helm charts with kubernetes and I'm trying to deploy High Availability Postgresql database and found this article mentioning three project that provide HA Postgresql: 1- Stolon 2- ...
user avatar
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 ...
user avatar
  • 121
2 votes
1 answer
8k views

Deploy helm chart from Jenkins to Kubernetes

I want to deploy helm chart from Jenkins to Kubernetes but I don't find any Plugins in Jenkins for Helm. How can I tell Jenkins to run Helm chart in Kubernetes ?
user avatar
  • 171
2 votes
1 answer
202 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 ...
user avatar
2 votes
2 answers
71 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 ...
user avatar
  • 21
2 votes
2 answers
121 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 ...
user avatar
  • 285
2 votes
1 answer
1k views

"Error: forwarding ports: Upgrade request required" Error in helm of a kubernetes cluster

I have a kubernetes cluster built using kubespray and imported to Rancher. The nodes are configured with CentOS Linux 7 3.10.0-957.12.1.el7.x86_64 Docker version : 18.9.5 Kubelet version : v1.14.1 ...
user avatar
  • 121
2 votes
1 answer
3k views

Installing Helm charts using Terraform

I have been trying to install Helm charts using Terraform in a cluster which operates in GKE. My question is in two parts: Is it a good practice to use Terraform for installing Helm charts? I have ...
user avatar
  • 136
2 votes
1 answer
2k views

Helm/ YAML indentation issue

I am etting weird YAML indentation with some conditional stuff, effectively I'm doing: resources: {{ toYaml .Values.resources | indent 10 }} {{- if .Values.filebeat.enabled -}} - name: elastic-...
user avatar
2 votes
1 answer
107 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 ...
user avatar
1 vote
1 answer
56 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 ...
user avatar
1 vote
2 answers
1k views

Accessing External REST api From Wthin Kubernetes Cluster

This is my first foray into Kubernetes land... I'm still pretty shaky on how things work and still wrapping my head around some of the concepts so please bear with me there. The application I am ...
user avatar
  • 113
1 vote
1 answer
275 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 ...
user avatar
  • 332
1 vote
1 answer
311 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 ...
user avatar
  • 285
1 vote
1 answer
880 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 ...
user avatar
  • 111
1 vote
1 answer
61 views

Is there a way through which I can control type of load balancer like round robin , least-connections etc using helm charts?

I am researching different types of loadbalancing methods available through kubernetes .I want to implement & see before deciding on one .I'm stuck at how to actually define typeof-loadbalancer.If ...
user avatar
  • 63
1 vote
2 answers
2k views

Unable to get Helm to work with ECR

I'm using Helm v3 with AWS ECR on a Kubernetes cluster that was creating using Kops. I have checked and the role kops assigned to the nodes does have ECR permissions. When I deploy my helm chart I ...
user avatar
  • 435
1 vote
1 answer
170 views

What's the way to deploy a resource once on a helm chart that is deployed multiple times?

in my use case i've got a helm chart for my application. One of the resources is actually a Grafana Dashboard for the application. This dashboard actually monitors all instances of the application, ...
user avatar
  • 121
1 vote
1 answer
297 views

Deploying Anchore to Kubernetes Cluster using Helm

Kubernetes version 1.14.2 (Client) 1.14.1 (Server) Anchore Chart anchore-engine.1.0.5 App Version 0.4.0 I'm trying to deploy Anchore via Helm to a Kubernetes cluster, but I'm getting failures in ...
user avatar
  • 21
1 vote
1 answer
99 views

declaratively mount a service account secret in OpenShift

I am using helm charts to deploy some webhook handlers. The handlers need to connect to the cluster they are running on to deploy the configuration within it. It works but one step is tricky to move ...
user avatar
  • 1,162
1 vote
1 answer
181 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 ...
user avatar
  • 111
1 vote
0 answers
397 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 ...
user avatar
  • 11
1 vote
0 answers
213 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"...
user avatar
  • 151
1 vote
0 answers
248 views

Persistent storageClass for GitLab on Kubernetes [closed]

Using the official helm chart and documentation, I want to deploy GitLab to Kubernetes. The storage guide shows how to store persistent data and also offers example Helm values. Sadly this doesn't ...
user avatar
  • 191
1 vote
0 answers
335 views

How to get all log files on kubernetes master node? [closed]

I need to receive all container logs using Filebeat autodiscover. When I deployed Filebeat to Kubernetes without using helm, I got all the container logs in the first attempt. I want to do the same ...
user avatar
  • 111
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>...
user avatar
  • 105
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 ...
user avatar
0 votes
1 answer
2k views

Getting permission denied with docker pipeline on jenkins

I have jenkins deployed via helm charts on kubernetes cluster Now i want to be able to run helm to deploy helm charts applications on my kubernetes cluster and have the following in my jenkinsfile ...
user avatar
  • 131
0 votes
1 answer
54 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 ...
user avatar
  • 103
0 votes
1 answer
191 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) ...
user avatar
  • 103
0 votes
2 answers
61 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: ...
user avatar
0 votes
1 answer
863 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-...
user avatar
  • 105
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 ...
user avatar
0 votes
1 answer
461 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 ...
user avatar