依据:https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/
我尝试安装带有自定义端口的ingress-nginx,但当我传入controller.customPorts
参数时,它不会暴露这些端口。我想我传递的格式不对。文件上说
A list of custom ports to expose on the NGINX ingress controller pod. Follows the conventional Kubernetes yaml syntax for container ports.
有谁能告诉我这个格式应该是什么?
2条答案
按热度按时间vfhzx4xs1#
假设它们的意思是Pod定义中显示的内容:
kse8i1jr2#
yaml
文件配置的语法应该如下所示: