update ja/docs/tasks/access-application-cluster/connecting-frontend-backend.md

This commit is contained in:
YukiKasuya 2020-08-31 12:48:43 +09:00 committed by inductor
parent 3d0034f42c
commit b82b1ff73c
1 changed files with 14 additions and 3 deletions

View File

@ -26,10 +26,10 @@ weight: 70
## {{% heading "prerequisites" %}}
* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
* このタスクでは[Serviceで外部ロードバランサー](/docs/tasks/access-application-cluster/create-external-load-balancer/)を使用しますが、外部ロードバランサーの使用がサポートされている環境である必要があります。
ご使用の環境がこれをサポートしていない場合は、代わりにタイプ[NodePort](/ja/docs/concepts/services-networking/service/#nodeport)のServiceを使用できます。
このタスクでは[Serviceで外部ロードバランサー](/docs/tasks/access-application-cluster/create-external-load-balancer/)を使用しますが、外部ロードバランサーの使用がサポートされている環境である必要があります。
ご使用の環境がこれをサポートしていない場合は、代わりにタイプ[NodePort](/ja/docs/concepts/services-networking/service/#nodeport)のServiceを使用できます。
@ -186,8 +186,19 @@ curl http://${EXTERNAL_IP} # これを前に見たEXTERNAL-IPに置き換えま
{"message":"Hello"}
```
## {{% heading "cleanup" %}}
Serviceを削除するために、このコマンドを入力してください
```shell
kubectl delete services frontend hello
```
バックエンドとして動作しているDeploymentとReplicaSetとPodとフロントエンドアプリケーションを削除するために、このコマンドを入力してください
```shell
kubectl delete deployment frontend hello
```
## {{% heading "whatsnext" %}}