Questions tagged [kubernetes-helm]
Helm is a tool for managing packages (i.e. charts) of templated Kubernetes resources.
4,731
questions
0
votes
1
answer
15
views
Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy' and 'minReadySeconds' are forbidden
I am trying to upgrade my rabbitmq to 3.10 version. When I am deploying using the new image I get below error. I made a small change to the template and not sure why it is throwing this error and ...
0
votes
1
answer
12
views
Not able to access resource from kubernates operator
I am getting below error when I try to fetch resource(test-associations) which is created by assocOperator(kubernates operator deployed at stage level) in testns2 namespace from test-operator code (...
0
votes
0
answers
21
views
How do I omit the port for well-known protocols in a Helm template procedure?
I need to define a url in my Helm template such that the colon and port are omitted if the (protocol, port) are either (http, 80) or (https, 443).
Correct:
http://myservice:8080
https://myservice:...
0
votes
0
answers
17
views
Helm fetches different "latest" image different than Docker pull's latest image
A different image is fetched with the same image name Helm does a chart install than if I do an ordinary docker pull. My values.yaml has
image:
repository: gcr.io/rsi-api-test/rsi-api
tag: latest
...
0
votes
2
answers
14
views
Creating a configMap from file is critical to file type and lines count in the file
I have a template that creates a configMap from the jmeter-test-data-file-configmap.yaml file in helm chart:
{{- if .Values.env.datafile }}
apiVersion: v1
kind: ConfigMap
metadata:
name: jmeter-...
0
votes
0
answers
9
views
How to do CICD of the helm chart via jenkins? [closed]
I have created helm char for my apps.
Now i want that when i trigger jenkins deploy job it upgrade helm charts.? Is it possible?
I did not find it on google.
An alternate service that gives this ...
-2
votes
0
answers
11
views
what is the best way to learn helm chart? [closed]
need to learn golang? i can't find deep sourse to learn helm chart
0
votes
0
answers
5
views
Normal Container Deployed via Helm to GCP cluster is never ready, never accessible
I'm doing a HelloWorld level of SpringBoot deployed via Helm onto a GCP cluster. I can push this to my cluster, publish the port and have it run fine. But not Helm. Under Helm it's never reachable. ...
1
vote
1
answer
33
views
Access helm context of dependencies
We are using this chart:
apiVersion: v2
appVersion: 1.0
version: 0.0.1
description: Helm chart for setting up Kafka platform (Kafka, Zookeeper, Kafka Rest, Kafka Schema Registry, Kafka Connect, KSQL ...
1
vote
1
answer
26
views
PostgreSQL bitnami Helm Chart does not update the user password
When I deploy the Bitnami PostgreSQL Helm Chart (chart version 10.9.4, appVersion: 11.13.0), the passwords for any user are not updated or changed after the first installation.
Lets say that for the ...
0
votes
0
answers
11
views
Helm iterating over array of objects
I have following array of object
--------------------------
customizedFactorImplVolume:
- name: PasswordAuthn
customFactorProviderDir: PasswordDir
- name: FaceIdAuthn
...
0
votes
0
answers
24
views
helm overriding sub chart template in the base chart
I have my app chart (A) that depends on some generic chart (B)
I need from my app chart (A) to override the deployment template of the sub chart (B)
I tried to copy and paste from sub chat to the ...
0
votes
0
answers
6
views
deploy sidecar container using pulumi
I am currently working on an automation for certs renewal. (Cert automate application) The sidecar will run a process which connects to Vault,requests a new certificate every time you redeploy your ...
0
votes
0
answers
6
views
Helm failed to parse special character with --set option [duplicate]
I have a jenkinsfile with vault configured and I am calling ENV variables from that vault, to use it to run helm upgrade with --set key=${env_var} now, the thing is env_var contains a special ...
-1
votes
0
answers
13
views
Best practice to deploy app via Helm when app configuration is in a json file
I have an application that picks its configuration (database connection among others) from a .json file that is deployed with the rest of the application. I'd like to have a single configuration file, ...
0
votes
0
answers
10
views
coalesce.go:220: warning: cannot overwrite table with non table for service.type (map[default:ClusterIP]) ---
How I can find which yaml file is creating this error.
I'm using Native kubernetes flink deployment, but when I run helm template, I'm getting this error.
coalesce.go:220: warning: cannot overwrite ...
0
votes
0
answers
22
views
Helm installed container rejects port that works with docker
I'm starting the helm create chart with some mods to tell it, hey open up port 12800 to the outside world and send it to the internal pod. Via helm, I get connection refused.
When I start the same ...
-1
votes
0
answers
21
views
Helm deployment using terraform helm provider
I have create eks cluster using terraform. Now i want to setup ingress controller,cert manager,promethues,grafana etc for my eks cluster. Is there any cons/limitation to use helm to setup these ...
0
votes
0
answers
15
views
Build Helm chart with custom app version for Sub Charts
For a regular helm-chart I can use helm package --app-version="foo-bar" to be able to overwrite app-version while packing the helm chart.
Is there a way to achieve the same with sub-charts.
...
0
votes
0
answers
29
views
Kubernetes cluster unreachable eroor while helm deployment
helm upgrade clientmanagement client-management -i -n dev --set clientmanagement.image.tag=12 --set-string controller.config.proxy-body-size=50m --set-string controller.config.client-max-body-size=50m
...
0
votes
2
answers
18
views
lookup helm value based on range
I am creating a helm chart that has a multiple containers.
My values file look like this:
# environment variables
rabbitmqhost : "rabbitmq"
db-host : "mongo"
db-username : "...
0
votes
1
answer
22
views
Kubernetes: Deployment generation is 35, but latest observed generation is 34
I have a Rancher Kubernetes Cluster running and my application containing sevral pods is running as a helm chart. When I wanted to update my application, I updated my container image and redeployed ...
1
vote
0
answers
27
views
Where can I see the logs for failed airflow scheduler deployments?
I'm deploying Airflow with Helm (I'm using Rancher to do so)
I've set up git-sync to pull the DAGs from a private repo. Everything is working fine.
Now I want to switch to a different repo. I updated ...
-1
votes
0
answers
16
views
io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryException: Failed to get Kafka cluster ID
When doing a helm install, I have a schema registry that fails to start because it is unable to find the Kafka Cluster ID. io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryException: Failed ...
0
votes
0
answers
24
views
GITLAB Autoscaling in Kubernetes
I am using GitLab runner in Kubernetes for building our application. Since ours is a docker in a docker use case, we are using Kaniko to build images from a DockerFile.
I am having a hard time ...
0
votes
0
answers
40
views
multiple configMap files in Helm
Somehow I cannot load environment variables and I have the following error when the pod starts:
Error: Could not find or load main class
Caused by: java.lang.ClassNotFoundException:
The structure of ...
0
votes
1
answer
34
views
Helm iterate with range bad carriage return after the dash
sorry for my poor english.
I try to iterate with range but I have a bad carriage return after the dash.
I tested different writings but I did not find my happiness.
run command:
helm template ...
0
votes
0
answers
8
views
deploy mongodb with helm - why does it connect only the primary pod to replica set?
using the following command:
helm install mongodb bitnami/mongodb --set mongodbRootPassword=root --set mongodbUsername=myapp --set mongodbPassword=myapp --set mongodbDatabase=mydb --set replicaSet....
0
votes
0
answers
17
views
Can't access files ('.Files') using helm subchart
I have a sub-chart which is being used by many other Charts, the sub-chart has a Deployment file in it that is using access files.
The deployment includes the following line {{- range $value := .Files....
0
votes
1
answer
28
views
who was the last to modify a pod in a namespace
is there a way to pull out the username who was the last one that updated a pod in a namespace?
I have already tried the below command but non of them get me the user name
helm get values *myservice*
...
0
votes
1
answer
27
views
deploy mongodb with helm : " command replSetGetStatus requires authentication"?
I created a cluster in google cloud, deployed mongodb using help:
helm install my-release \
--set auth.rootPassword=password,auth.databases[0]="database",auth.usernames[0]="root&...
-2
votes
0
answers
32
views
Is k8s cluster-role limited when binding to services account in specific namespace?
I have a project that exposes ingress to pods inside the cluster.
And I found that if I wanted to run my project running in a specific namespace and specify the namespace to the yaml files used in my ...
0
votes
1
answer
36
views
Custom certificate issue on Ingress controller installing with Helm chart
I am using the ABP framework microservice template. I have deployed the application on Kubernetes using the helm chart.
I have the following helm chart configuration in values.YAML is provided by the ...
0
votes
0
answers
22
views
k8s not executing commands after deployment in pod using configmap
Bit complicated but will try to explain as much to give clarity any help much apricated,
I use azure devops to do deployment in eks using helm , everything working fine and i now have a requirement to ...
1
vote
1
answer
32
views
Helm iterate over nested list and added output in yaml with decoded value
I have a bunch of secretKey in values.yaml like below. I need to add each value of secretKey as a key and decoded value in template.data like as a value like below.
How can I achieve this ?
{{- range $...
0
votes
1
answer
25
views
helm cert-manager secret random character issue
I have a software with Helm. I'm running Letsencrypt here. But when I looked with kubectl get secret, I saw that random characters were generated at the end of the certName that I assigned in my yaml ...
1
vote
1
answer
30
views
helm convert map type data into json object
i have map data in my values.yaml
values.yaml
shapes:
"FIRST SHAPE": "square"
"SECOND SHAPE": "circle"
"THIRD SHAPE": "triangle"
i ...
0
votes
1
answer
17
views
Helm condition check on two values and return useful message
I want to check the following values and would like to give the user of the chart a useful message during rendering/installing. My condition is already working but its not exiting its just does not ...
0
votes
1
answer
27
views
helm CLI incorrectly splits on commas
When using the helm command and overriding values using --set, if the key value contains a comma, the value is halted there. i want to pass a value with comma.
For example -set connString=service_name:...
0
votes
0
answers
20
views
no cors header response after define cors policy in vs
I have deployed my service with below vs configuration but I am not getting getting any header response. I want to know do I need to define any configuration changes in my service also?
I want to ...
0
votes
1
answer
47
views
Mounting AWS Secrets Manager on Kubernetes/Helm chart
I have created an apps cluster deployment on AWS EKS that is deployed using Helm. For proper operation of my app, I need to set env variables, which are secrets stored in AWS Secrets manager. ...
0
votes
1
answer
25
views
helm escape ` in template yaml file
Does anyone know how to espace ` in helm template?
I try to add \ in front doesn't seem to work
original:
{{- if not .Values.istio_cni.chained }}
k8s.v1.cni.cncf.io/networks: '{{ ...
0
votes
0
answers
16
views
K8S node_problem_detector Node Condition does not turn back to False
I am trying node problem detector for k8s, Node Condition turns to True whenever the pattern triggered but never goes back to false.
Any idea?
2
votes
1
answer
17
views
HELM upgrade/install issue with azure pipelines
I am trying to create a new namespace and install release name in azure pipelines, but my pipelines are getting timed-out after an hour.
Here's the code:
- task: HelmDeploy@0
displayName: Dry run ...
0
votes
0
answers
30
views
How can I refer secrets from custom resource
How can I refer secret value from custom resource ?
I am trying some thing like below but its not working
configuration:
baseUrl: "some url"
username: "jack"
password:
...
0
votes
0
answers
21
views
How to scrape metrics from postgresql helm deployment with kube-prometheus-stack
I have seamlessly been using kube-prometheus-stack for monitoring.
after realizing there is metrics: section in values.yaml file, I wanted to enable metrics for both existing deployments;
postgresql (...
-1
votes
1
answer
21
views
Set multiple environment variable to helm chart from file
I am writing an Helm Chart that should deploy a simple NGINX resource, this resource need to have all the environment variables located in an .env file.
I was wandering if is possible to cycle inside ...
0
votes
1
answer
17
views
How to add extraPort in bitnami headless service?
I want to add extra port into a headless service provided by bitnami helm templates. Is there a way to achieve this?
1
vote
1
answer
24
views
Nested templating helm
I am working on a problem to implement a helm chart with customize configMap and trying to populate the configMap based on the environment mode.
Values.yaml
externalIPService:
ip: 1.1.1.1
port: 80
...
-1
votes
1
answer
39
views
Is there a way to start an application, in a docker container, during deployment to Kubernetes, using Helm?
I am trying to avoid having to create three different images for separate deployment environments.
Some context on our current ci/cd pipeline:
For the CI portion, we build our app into a docker ...