Change:
Chinese document display in raw html format. <img width="868" alt="image" src=""
/language zh
/kind bug
Related page: /retitle [zh] Displays Raw Html data in tutorials page
/sig docs /triage accepted /priority backlog
As per original site, this part should look something like this - !
/assign

Discussion:
<!-- <p><em>Scaling</em> is accomplished by changing the number of replicas in a Deployment</p> <del> <p> <b> NOTE </b> If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section </a>, you may need to start from <a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/">creating a cluster</a> as the services may have been deleted </p> </del> <ins> <p>If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section</a>, you may have deleted the Service exposing the Deployment. In that case, please expose the Deployment again using the following command:</p><p><code><b>kubectl expose deployment/kubernetes-bootcamp --type="NodePort" --port 8080</b></code></p> </ins> --> <p><b>扩缩</b> 是通过改变 Deployment 中的副本数量来实现的。</p> <del> <p> <b> 注意 </b> 如果你是在 <a href="/zh-cn/docs/tutorials/kubernetes-basics/expose/expose-intro/">上一节</a> 之后尝试此操作, 你可能需要从 <a href="/zh-cn/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/">创建一个集群</a> 开始， 因为 Service 可能已被删除。</p> </del> <ins> {{< note >}} <p>如果你是在 <a href="/zh-cn/docs/tutorials/kubernetes-basics/expose/expose-intro/">上一节</a> 之后尝试此操作, 那么你可能已经删除了公开 Deployment 的 Service。在这种情况下，请使用以下命令再次公开 Deployment：</p> <p><code><b>kubectl expose deployment/kubernetes-bootcamp --type="NodePort" --port 8080</b></code></p> {{< /note >}} </ins> </div> <div class="col-md-4"> <div class="content__box content__box_lined">

<p>We hit a different Pod with every request. This demonstrates that the load-balancing is working.</p> --> <p>我们每个请求都命中了不同的 Pod，这证明负载均衡正在工作。</p> <del> {{< note >}} </del> <!-- <del> <p>If you're running minikube with Docker Desktop as the container driver, a minikube tunnel is needed. This is because containers inside Docker Desktop are isolated from your host computer.<br> </del> <ins> <p>If you're running minikube with Docker Desktop as the container driver, a minikube tunnel is needed. This is because containers inside Docker Desktop are isolated from your host computer.<br> </ins> <p>In a separate terminal window, execute:<br> <code><b>minikube service kubernetes-bootcamp --url</b></code></p> <ins> <p>The output looks like this: <pre><b>http://127.0.0.1:51082<br>!  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.</b></pre></p> <p>Then use the given URL to access the app:<br> <code><b>curl 127.0.0.1:51082</b></code></p> </ins> --> <ins> {{< note >}} </ins> <p>如果你使用 Docker Desktop 作为容器驱动程序运行 minikube，则需要 minikube 隧道。 这是因为 Docker Desktop 内的容器与主机隔离。<br> <p>在单独的终端窗口中，执行：<br> <code><b>minikube service kubernetes-bootcamp --url</b></code></p> <del> <!-- <p>The output looks like this: <pre><b>http://127.0.0.1:51082<br>!  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.</b></pre></p> <p>Then use the given URL to access the app:<br> <code><b>curl 127.0.0.1:51082</b></code></p> --> </del> <p>输出看起来像这样： <pre><b>http://127.0.0.1:51082<br>!  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.</b></pre></p> <p>然后使用给定的 URL 访问应用程序：