apolloconfig/apollo

helm3 方式部署k8s apollo nodeport端口无法自定义

Open

#4096 aperta il 12 nov 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (10.177 fork)batch import
feature requesthelp wanted

Metriche repository

Star
 (29.769 star)
Metriche merge PR
 (Merge medio 4g 13h) (6 PR mergiate in 30 g)

Descrizione

描述bug

通过helm3 安装apollo k8s服务。遇到个问题,就是无法指定暴露的NodePort端口。查了下issues没人问过

复现 image 如图,修改 values.yaml 加入type: NodePort 以及nodePort: 31809。 同时修改templates/service-configservice.yaml加入 nodePort: {{ .Values.configService.service.nodePort }} 如图: image 最后创建后结果 image

期望

希望可以指定NodePort端口号

截图

如果可以,附上截图来描述你的问题

额外的细节和日志

  • 版本: image k8s 1.18 helm3
  • 错误日志
  • 配置:
  • 平台和操作系统

Guida contributor