kubernetes - ingress-nginx k8 设置配置 controller.customPorts
问题描述
根据:https ://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/
controller.customPorts
我正在尝试使用自定义端口安装 ingress-nginx,但是当我传入参数时它不会公开这些端口。我想我没有以正确的格式传递它。文件说
A list of custom ports to expose on the NGINX ingress controller pod. Follows the conventional Kubernetes yaml syntax for container ports.
谁能向我解释这种格式应该是什么?
解决方案
假设它们的意思是 Pod 定义中显示的内容:
- port: 1234
name: alan
推荐阅读
- python - 如何从python selenium中的只读框中复制文本
- testing - SpecFlow 功能测试未添加到 Visual Studio 2019 测试资源管理器窗口
- deno - Deno 属性 'utime' 在类型 'typeof Deno' 上不存在。等待 Deno.utime(dest, statInfo.atime, statInfo.mtime);
- telegram - 电报机器人错误:我无法发送其用户名
- c# - 执行三元运算符或将枚举转换为浮点数哪个更快?
- django - Django 月度用户账单记录
- python - 使用 python 和 mysql 从数据库中的一组值中更新最后输入的值
- python - How to get a person's age from his date of birth in Odoo?
- python - 使用 cv2.WINDOW_GUI_EXPANDED 能够通过 imshow() 使用缩放
- java - 在 DeepLearning4j 中实现 DotProduct 层