|
@ -127,7 +127,7 @@ kubectl create deployment webapp --image=uhub-edu.service.ucloud.cn/cloud_comput |
|
|
<img src="img/assignment8/ass8-deployment.png"> |
|
|
<img src="img/assignment8/ass8-deployment.png"> |
|
|
</kbd> |
|
|
</kbd> |
|
|
|
|
|
|
|
|
#### 3)这时我们需要用kubectl创建一个代理,使得从云主机可以访问集群(从而访问pod)。打开一个新的Terminal或者XShell窗口 |
|
|
|
|
|
|
|
|
#### 3)这时我们需要用kubectl创建一个代理,使得从云主机可以访问集群(从而访问pod)。打开一个新的Terminal或者XShell窗口,登录云主机。 |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
echo -e "\n\e[92mStarting Proxy. After starting it will not output a response. Please click the first Terminal Tab\n"; kubectl proxy |
|
|
echo -e "\n\e[92mStarting Proxy. After starting it will not output a response. Please click the first Terminal Tab\n"; kubectl proxy |
|
|