开发者社区 > 云原生 > 微服务 > 正文

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

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

展开
收起
三分钟热度的鱼 2024-06-12 20:14:40 14 0
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 展开评论 打赏

为微服务建设降本增效,为微服务落地保驾护航。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载