apolloconfig / apolloconfig/apollo

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

Đang mở
#4,096 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature request help wanted
Ngôn ngữ chính
Java
Star
29.8k
Fork
10.2k
Merge trung bình
4 ngày 7 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.