apolloconfig / apolloconfig/apollo

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

Offen
#4,096 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request help wanted
Vorherrschende Sprache
Java
Sterne
29.8k
Forks
10.2k
Ø Merge
4 T. 7 Std.
Gemergte PRs (30 T.)
4

Beschreibung

- [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
- 错误日志
- 配置:
- 平台和操作系统

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.