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

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

展开
收起
三分钟热度的鱼 2024-06-12 20:14:40 100 发布于安徽 分享
分享
版权
举报
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 评论

    评论

    全部评论 (0)

    登录后可评论
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等