kubernetes-helm

Pod status as `CreateContainerConfigError` in Minikube cluster

不羁岁月 提交于 2020-07-17 09:30:04
问题 I am trying to run Sonarqube service using the following helm chart. So the set-up is like it starts a MySQL and Sonarqube service in the minikube cluster and Sonarqube service talks to the MySQL service to dump the data. When I do helm install followed by kubectl get pods I see the MySQL pod status as running , but the Sonarqube pos status shows as CreateContainerConfigError . I reckon it has to do with the mounting volume thingy: link. Although I am not quite sure how to fix it (pretty nnew

Error: could not find skywalking: stat skywalking: no such file or directory

心已入冬 提交于 2020-07-10 10:29:11
问题 I am follow this docs to install skywalking using helm 3.2.1 : helm repo add elastic https://helm.elastic.co helm dep up skywalking but when I execute the second command: [miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm dep up skywalking Error: could not find skywalking: stat skywalking: no such file or directory and I create skywalking directory: [miaoyou@MeowK8SMaster1 linux-amd64]$ mkdir skywalking [miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm dep up skywalking Error: validation: chart.metadata

Unable to helm install due to deployment manifest issue

我的梦境 提交于 2020-07-07 11:08:23
问题 While trying to perform helm install Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Service" in version "extensions/v1beta1", error validating "": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec] My service.yaml looks like below apiVersion: extensions/v1beta1 kind: Service metadata: name: helm-xxx-helper-api spec: type: NodePort ports: - nodePort:

Convert a YAML to string in Helm

╄→гoц情女王★ 提交于 2020-06-29 04:13:10
问题 The bounty expires in 11 hours . Answers to this question are eligible for a +100 reputation bounty. Guillaume is looking for an answer from a reputable source : Be able to use YAML and not string in values and use tpl to replace variables in the ConfigMap I have an helm chart used to deploy an application that have configuration file in YAML format. Currently, my helm chart use the following code: values.yaml databaseUser: "dbuser" configFiles: db_config_file.yaml: |- databaseUser: {{

Convert a YAML to string in Helm

霸气de小男生 提交于 2020-06-29 04:13:08
问题 The bounty expires in 11 hours . Answers to this question are eligible for a +100 reputation bounty. Guillaume is looking for an answer from a reputable source : Be able to use YAML and not string in values and use tpl to replace variables in the ConfigMap I have an helm chart used to deploy an application that have configuration file in YAML format. Currently, my helm chart use the following code: values.yaml databaseUser: "dbuser" configFiles: db_config_file.yaml: |- databaseUser: {{

How to use output of a powershell command as parameters in Azure pipeline?

一个人想着一个人 提交于 2020-06-29 03:35:10
问题 I have a PowerShell script task that gets the names of some files from a folder in my git repo and puts them into a variable. I want to use those file names in parameters and use "each" condition in another task (task: HelmDeploy@0) in order to run that task each time with one of the file names as valueFile variable. Here is what I have tried, however it gives an error Template-Yaml/deploy-jobs.yaml@pipelinetemplates Expected a sequence or mapping. Actual value '$[dependencies.A.outputs[

Unable to initialize helm (tiller) on newly created GKE cluster

不羁的心 提交于 2020-06-28 07:15:48
问题 I have just created a GKE cluster on Google Cloud platform. I have installed in the cloud console helm : $ helm version version.BuildInfo{Version:"v3.0.0", GitCommit:"e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6", GitTreeState:"clean", GoVersion:"go1.13.4"} I have also created the necessary serviceaccount and clusterrolebinding objects: $ cat helm-rbac.yaml apiVersion: v1 kind: ServiceAccount metadata: name: tiller namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind:

Helm ls: Error: configmaps is forbidden: User “system:serviceaccount:kube-system:tiller”

限于喜欢 提交于 2020-06-28 05:50:08
问题 Is helm broken, I keep getting: Error: configmaps is forbidden: User "system:serviceaccount:kube-system:tiller" cannot list resource "configmaps" in API group "" in the namespace "kube-system" when helm ls 回答1: helm is probably fine. You need to have correct serveice-account and role binding. Refer https://github.com/helm/helm/blob/master/docs/rbac.md#tiller-and-role-based-access-control for common scenario examples. 回答2: The link shared on above answer are No more valid and throws a 404

Helm stable/airflow - Custom values for Airflow deployment with Shared Persistent Volume using Helm chart failing

放肆的年华 提交于 2020-06-28 03:28:40
问题 Objective I want to deploy Airflow on Kubernetes where pods have access to the same DAGs, in a Shared Persistent Volume. According to the documentation (https://github.com/helm/charts/tree/master/stable/airflow#using-one-volume-for-both-logs-and-dags), it seems I have to set and pass these values to Helm: extraVolume , extraVolumeMount , persistence.enabled , logsPersistence.enabled , dags.path , logs.path . Problem Any custom values I pass when installing the official Helm chart results in

How to import custom dashboards to grafana using helm

我只是一个虾纸丫 提交于 2020-06-25 10:08:20
问题 I'm trying to understand helm and I wonder if someone could ELI5 to me something or help me with something. So i did run below: helm repo add coreos https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/ Then I installed kube-prometheus by using below: helm install coreos/kube-prometheus --name kube-prometheus -f values.yaml --namespace monitoringtest Everything works fine but I'm trying to add some custom dashboards from json files and I'm struggling to understand how to do it. I was