Skip to content

Commit

Permalink
Update README.md (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
micnncim authored Sep 21, 2020
1 parent a75191a commit 92c86e6
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ pod/nginx-54565674c6-t8hnm deleted
pod/nginx-54565674c6-v7xw9 deleted
pod/nginx-54565674c6-wwb6m deleted
pod/job-kqpxc deleted

$ kubectl get po
NAME READY STATUS RESTARTS AGE
nginx-54565674c6-fmw7g 1/1 Running 0 20s
```

### ConfigMaps
Expand Down Expand Up @@ -84,24 +80,8 @@ spec:
name: config-1
EOF

$ kubectl get po
NAME READY STATUS RESTARTS AGE
nginx 1/1 Running 0 0m40s

$ kubectl reap cm --ury-run=client
configmap/config-2 deleted (dry run)

$ kubectl get cm
NAME DATA AGE
config-1 1 1m15s
config-2 1 1m10s

$ kubectl reap cm
configmap/config-2 deleted

$ kubectl get cm
NAME DATA AGE
config-1 1 1m30s
```

### Interactive Mode
Expand All @@ -110,11 +90,11 @@ You can choose which resource you will delete one by one by interactive mode.

```console
$ kubectl reap cm --interactive # or '-i'
? Are you sure to delete configmap/test-cm-1? Yes
configmap/test-cm-1 deleted
? Are you sure to delete configmap/test-cm-2? No
? Are you sure to delete configmap/test-cm-3? Yes
configmap/test-cm-3 deleted
? Are you sure to delete configmap/config-1? Yes
configmap/config-1 deleted
? Are you sure to delete configmap/config-2? No
? Are you sure to delete configmap/config-3? Yes
configmap/config-3 deleted
```

## Usage
Expand Down

0 comments on commit 92c86e6

Please sign in to comment.