Add --rm for temporary pod command

Without --rm this creates a pod in the default namespace named `curl`. It seems ok to remove it on exit.
pull/41820/head
Alex Dixon 2023-06-30 20:41:26 -07:00 committed by GitHub
parent c5ee8294f5
commit de09ed7f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ or [Installing CoreDNS](/docs/tasks/administer-cluster/coredns/#installing-cored
Let's run another curl application to test this:
```shell
kubectl run curl --image=radial/busyboxplus:curl -i --tty
kubectl run curl --image=radial/busyboxplus:curl -i --tty --rm
```
```
Waiting for pod default/curl-131556218-9fnch to be running, status is Pending, pod ready: false