Score:0

Grafana deploy in kubernetes with Letsencript certificate in ingess

mx flag

I want to deploy grafana in my AKS kubernetes cluster. For deployment I use helm

helm install grafana grafana/grafana --namespace=grafana --set "service.type=ClusterIP,persistence.enabled=true,replicaCount=1,persistence.size=10Gi,persistence.accessModes[0]=ReadWriteOnce,plugins=grafana-azure-monitor-datasource\,grafana-kubernetes-app,ingress.enabled=true,ingress.tls[0]=enabeld,ingress.tls[0].hosts[0]=mydomain.de,ingress.tls[0].secretName=tls-grafana-ingress,ingress.hosts[0]=mydomain.de,ingress.annotations.kubernetes.io/ingress.class=nginx,ingress.cert-manager.io/issuer=letsencrypt-prod" 

It can create grafana (when I remove "ingress.annotations.kubernetes.io/ingress.class=nginx,ingress.cert-manager.io/issuer=letsencrypt-prod") but I have problems with the tls certificate. The certificate will not cerate.

What I need to change, so the certifiacate will also create?

Regards Stefan

Michael Hampton avatar
cz flag
What are the errors you received?
Stefan avatar
mx flag
When I canched the it to --set ingress.annotations."kubernetes\.io/ingress\.class"=nginx --set ingress."cert-manager\.io/cluster-issuer"=letsencrypt-prod Then there will be no errors the tls certificate will not cerateted.
Mikołaj Głodziak avatar
id flag
Which version of Kubernetes and helm did you use?
Stefan avatar
mx flag
Helm version 3.6.2 / Kubernetes 1.19.11
Score:1
mx flag

I solved it.

First I create the certificate and secound I add the certificate to the ingress rule.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.