如果我用helm安装higress,想指定nodepot的端口是咋指定呀?

如果我用helm安装higress,想指定nodepot的端口是咋指定呀?

展开
收起
三分钟热度的鱼 2024-06-12 20:14:40 159 分享 版权
1 条回答
写回答
取消 提交回答
  • 把higress-core.gateway.service.ports 整个覆盖,就可以,higress-core:
    gateway:
    service:

      # Type of service. Set to "None" to disable the service entirely
      type: NodePort
      ports:
        - name: http2
          port: 80
          protocol: TCP
          targetPort: 80
          nodePort: 30080
        - name: https
          port: 443
          protocol: TCP
          targetPort: 443
          nodePort: 30081  可以用 helm -f  values.yaml 参数传入需要覆盖的参数文件  此回答整理自微信群“Higress 社区交流7群”
    
    2024-06-12 22:10:33
    赞同 1 展开评论