kubernetes-helm

How to import custom dashboards to grafana using helm

陌路散爱 提交于 2020-06-25 10:06:22
问题 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

Designing Helm charts for microservices based application

狂风中的少年 提交于 2020-06-24 21:49:25
问题 I'm currently building an application that is composed of 4 microservices (a, b, c, d). We would like to make Kubernetes Helm part of our CI/CD pipeline. We are at the point where we're discussing how best to define the charts and was wondering was the advice from the community. Our current options appear to be: a chart per microservice (so 4 charts) a chart per "application flow" (service a calls b, service c calls d, so 2 charts in total) a single chart that deploys all 4 microservices some

How to set environment related values.yaml in Helm subcharts?

六月ゝ 毕业季﹏ 提交于 2020-06-24 14:17:10
问题 I am currently deploying my applications in a Kubernetes cluster using Helm. Now I also need to be able to modify some parameter in the values.yaml file for different environments. For simple charts with only one level this is easy by having different values-local.yaml and values-prod.yaml and add this to the helm install flag, e.g. helm install --values values-local.yaml . But if I have a second layer of subcharts, which also need to distinguish the values between multiple environments, I

How to set environment related values.yaml in Helm subcharts?

点点圈 提交于 2020-06-24 14:15:48
问题 I am currently deploying my applications in a Kubernetes cluster using Helm. Now I also need to be able to modify some parameter in the values.yaml file for different environments. For simple charts with only one level this is easy by having different values-local.yaml and values-prod.yaml and add this to the helm install flag, e.g. helm install --values values-local.yaml . But if I have a second layer of subcharts, which also need to distinguish the values between multiple environments, I

How to set environment related values.yaml in Helm subcharts?

一世执手 提交于 2020-06-24 14:15:20
问题 I am currently deploying my applications in a Kubernetes cluster using Helm. Now I also need to be able to modify some parameter in the values.yaml file for different environments. For simple charts with only one level this is easy by having different values-local.yaml and values-prod.yaml and add this to the helm install flag, e.g. helm install --values values-local.yaml . But if I have a second layer of subcharts, which also need to distinguish the values between multiple environments, I

How can I create a HELM https service?

不想你离开。 提交于 2020-06-23 14:53:26
问题 I open Visual Studio 2019 and create a new project (Container application for kubernetes). I tick enable https support and then when I start debugging in Visual Studio; I can browse to the https address. I then try to go one step further. I have Kubernetes enabled in Docker Desktop on my development PC and follow these instructions (after opening all the .yaml files and changing all references of https to http and all references of port 80 to port 443): 1) cd C:\mvcsecure 2) docker build -t

How can I create a HELM https service?

依然范特西╮ 提交于 2020-06-23 14:53:03
问题 I open Visual Studio 2019 and create a new project (Container application for kubernetes). I tick enable https support and then when I start debugging in Visual Studio; I can browse to the https address. I then try to go one step further. I have Kubernetes enabled in Docker Desktop on my development PC and follow these instructions (after opening all the .yaml files and changing all references of https to http and all references of port 80 to port 443): 1) cd C:\mvcsecure 2) docker build -t

how to run shell commands in wp-cli kubernetes job to configure wordpress container?

梦想与她 提交于 2020-06-17 09:44:29
问题 Job yaml file for the wp-cli commands in the wordpress helm chart folder: {{ if and .Release.IsInstall .Values.job.autoCreateCluster }} apiVersion: batch/v1 kind: Job metadata: name: "{{ .Release.Name }}" labels: app.kubernetes.io/managed-by: {{ .Release.Service | quote }} app.kubernetes.io/instance: {{ .Release.Name | quote }} app.kubernetes.io/version: {{ .Chart.AppVersion }} helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" annotations: # This is what defines this resource as a hook.

How to pass a file using values file in helm chart?

拥有回忆 提交于 2020-06-17 09:15:14
问题 I want to pass a certificate to the helm chart and currently I am passing using --set-file global.dbValues.dbcacertificate=./server.crt but instead i want to pass the file in values file of helm chart. The Values.yaml file reads global: dbValues: dbcacertificate: <Some Way to pass the .crt file> 回答1: According to the relevant documentation, one must pre-process a file that is external to the chart into a means that can be provided via --set or --values , since .Files.Get cannot read file

How to set multiple values with helm?

♀尐吖头ヾ 提交于 2020-06-13 13:53:49
问题 Use helm install can set value when install a chart like: helm install --set favoriteDrink=slurm ./mychart Now want to set value like: helm install --set aws.subnets="subnet-123456, subnet-654321" ./mychart But failed: Error: failed parsing --set data: key " subnet-654321" has no value It seems that helm 's --set know comma , and check the next string as a key. So can't use in this case when set such string? Tested this way helm install charts/mychart \ --set aws.subnets={subnet-123456,subnet