1 kubespher平台上端口是随机生成
2 修改kubesphere-controls-system里service服务router配置文件
kubectl -n kubesphere-controls-system edit svc kubesphere-router-ur-api-gateway-test-project
[root@UR-20210425NAMA ~]# kubectl -n kubesphere-controls-system get svc kubesphere-router-ur-api-gateway-test-projectNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEkubesphere-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-projectservice/kubesphere-router-ur-api-gateway-test-project edited[root@UR-20210425NAMA ~]#

