在Helm Charts中将Nginx-Ingress/Certmanager添加为依赖项 [英] Adding Nginx-Ingress/Certmanager as Dependency in Helm Charts

查看:159
本文介绍了在Helm Charts中将Nginx-Ingress/Certmanager添加为依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有nginx入口,certmanager和一个应用程序的Kubernetes集群(Azure),我想知道是否有一种方法可以将整个系统作为一个单独的程序包,所以如果该集群有任何问题,那将是更容易旋转另一个.

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.

我的主要想法是使nginx-ingress和certmanager的手动配置自动进行,但是我不确定如果可能的话,如何将其包含在头盔图中.如果不可能的话,是否有一种方法(或工具)可以在旋转时最小化环境的手动配置?

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?

谢谢.

推荐答案

您需要在此处具有多个舵图包,可能如下-

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

  1. 您的服务头盔图
  2. 其他依赖项服务掌舵图(例如redis,kafka等)
  3. Nginx掌舵图
  4. 然后,您可以添加包含集群颁发者,证书的cert-manager掌舵表,并且可以根据您提到的名称自行创建TLS秘密(或者您可以添加自己的秘密)
  5. 然后添加入口规则将为您内嵌东西.

只需将其打包成头盔图表.tgz格式

Just package things up in helm chart .tgz formats

这篇关于在Helm Charts中将Nginx-Ingress/Certmanager添加为依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆