1 kubespher平台上端口是随机生成
2 修改kubesphere-controls-system里service服务router配置文件
kubectl -n kubesphere-controls-system edit svc kubesphere-router-ur-api-gateway-test-projec
t
[root@UR-20210425NAMA ~]# kubectl -n kubesphere-controls-system get svc kubesphere-router-ur-api-gateway-test-project
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubesphere-router-ur-api-gateway-test-project NodePort 172.26.98.60 <none> 80:32548/TCP,443:32187/TCP 11d
[root@UR-20210425NAMA ~]# kubectl -n kubesphere-controls-system edit svc kubesphere-router-ur-api-gateway-test-projec
t
service/kubesphere-router-ur-api-gateway-test-project edited
[root@UR-20210425NAMA ~]#