Skip to content

Commit 1f281f1

Browse files
authored
Merge pull request #42032 from Arhell/ja-add
[ja] Add --rm for temporary pod command
2 parents f86b8d6 + 9f0ed70 commit 1f281f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/ja/docs/concepts/services-networking/connect-applications-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ kube-dns ClusterIP 10.0.0.10 <none> 53/UDP,53/TCP 8m
210210
このセクションの残りの部分は、寿命の長いIP(my-nginx)を持つServiceと、そのIPに名前を割り当てたDNSサーバーがあることを前提にしています。ここではCoreDNSクラスターアドオン(アプリケーション名: `kube-dns`)を使用しているため、標準的なメソッド(`gethostbyname()`など) を使用してクラスター内の任意のPodからServiceに通信できます。CoreDNSが起動していない場合、[CoreDNS README](https://github.com/coredns/deployment/tree/master/kubernetes)または[Installing CoreDNS](/ja/docs/tasks/administer-cluster/coredns/#installing-coredns)を参照し、有効にする事ができます。curlアプリケーションを実行して、これをテストしてみましょう。
211211

212212
```shell
213-
kubectl run curl --image=radial/busyboxplus:curl -i --tty
213+
kubectl run curl --image=radial/busyboxplus:curl -i --tty --rm
214214
```
215215
```
216216
Waiting for pod default/curl-131556218-9fnch to be running, status is Pending, pod ready: false

0 commit comments

Comments
 (0)