apolloconfig / apolloconfig/apollo

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

オープン
#4,096 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature request help wanted
主要言語
Java
スター
29.8k
フォーク
10.2k
平均マージ
4日 7時間
マージ済み PR(30日)
4

説明

- [x] 我已经检查过[discussions](https://github.com/ctripcorp/apollo/discussions)
- [x] 我已经搜索过[issues](https://github.com/ctripcorp/apollo/issues)
- [x] 我已经仔细检查过[FAQ](https://www.apolloconfig.com/#/zh/faq/common-issues-in-deployment-and-development-phase)

**描述bug**

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

**复现**
![image](https://user-images.githubusercontent.com/14995750/141440532-119f057b-adba-44ba-adc3-bd4b058d71fe.png)
如图,修改 values.yaml 加入type: NodePort 以及nodePort: 31809。
同时修改templates/service-configservice.yaml加入 nodePort: {{ .Values.configService.service.nodePort }}
如图:
![image](https://user-images.githubusercontent.com/14995750/141440749-7e06acd1-6241-40fe-84d5-a09f1e733cd2.png)
最后创建后结果
![image](https://user-images.githubusercontent.com/14995750/141440810-958fe3a3-876a-44ee-9617-2fbbabef31e9.png)

**期望**

希望可以指定NodePort端口号

**截图**

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

### 额外的细节和日志

- 版本:
![image](https://user-images.githubusercontent.com/14995750/141441110-b63079ed-6770-4f9f-a1e8-82ef98d73c54.png)
k8s 1.18 helm3
- 错误日志
- 配置:
- 平台和操作系统

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。