Adding Nginx-Ingress/Certmanager as Dependency in Helm Charts

陌路散爱 提交于 2020-05-13 07:31:20

问题


I have a Kubernetes cluster(Azure) with nginx-ingress, certmanager and one application, and I was wondering if there's a way of making the whole system as one single package so if there's any problem with the cluster it'd be easier to spin up another one.

My main idea is to make the manual configuration of nginx-ingress and certmanager automatic, but I'm not sure how it'd included in a helm chart, if possible. If not possible, is there a way(or tool) for minimising the manual configuration of environments when spinning it up?

Thanks in advance.


回答1:


You need to have a package of multiple helm charts here, likely as follows-

  1. Helm chart of your services
  2. Other dependency services helm charts (like redis, kafka etc)
  3. Nginx helm chart
  4. Then you can add cert-manager's helm chart which carries cluster issuer, certificate and it can either self create the TLS secret, by name mentioned by you ( or you can add your own secret)
  5. Then adding the ingress rule will place things inline for you.

Just package things up in helm chart .tgz formats



来源:https://stackoverflow.com/questions/59454550/adding-nginx-ingress-certmanager-as-dependency-in-helm-charts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!