doc: add node port and cluster ip export docs

pull/2828/head
黄sir 2 years ago
parent d74634e3e1
commit 21bca52138

@ -12,10 +12,13 @@ If you don't have the above environment, please go to the official documentation
- [Helm Installation](https://helm.sh/zh/docs/intro/install/)
- [Kubernetes Docker Desktop Quick Installation](https://docs.docker.com/desktop/kubernetes/)
In addition, you need to configure the host profile mapping of the Kubernetes master node before starting the tests.
Here we expose the services of the Pod in Kubernetes to the outside world by means of NodePort, and configure the ip mapping of the Kubernetes cluster node before starting the test.
```sh
127.0.0.1 integrated-frontend
# Please adjust with the public ip of your K8S node
120.24.xxx.xxx integrated-frontend
120.24.xxx.xxx gateway-service
120.24.xxx.xxx integrated-mysql-web
120.24.xxx.xxx nacos-mysql-web
```
## Start the test

@ -12,10 +12,14 @@
- [Helm 安装](https://helm.sh/zh/docs/intro/install/)
- [Kubernetes Docker Desktop 快捷安装](https://docs.docker.com/desktop/kubernetes/)
此外,在启动测试前还需配置好 Kubernetes 主节点的 host 配置文件映射。
在这里我们通过 NodePort 的方式来向外界暴露 Kubernetes 中 Pod 的服务,在启动测试前还需配置好 Kubernetes 集群节点的 ip 映射。
```sh
127.0.0.1 integrated-frontend
# 实际情况请结合您的 K8S 节点的公网 ip 进行调整
120.24.xxx.xxx integrated-frontend
120.24.xxx.xxx gateway-service
120.24.xxx.xxx integrated-mysql-web
120.24.xxx.xxx nacos-mysql-web
```
## 启动测试

Loading…
Cancel
Save