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