Update critest.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2018-02-08 02:53:07 +00:00
parent 46fc92f65f
commit 532a895d7d
3 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ e1c83b0b8d481d4af8ba98d5f7812577fc175a37b10dc824335951f52addbb4e
$ crictl pods $ crictl pods
PODSANDBOX ID CREATED STATE NAME NAMESPACE ATTEMPT PODSANDBOX ID CREATED STATE NAME NAMESPACE ATTEMPT
e1c83b0b8d481 2 hours ago SANDBOX_READY nginx-sandbox default 1 e1c83b0b8d481 2 hours ago SANDBOX_READY nginx-sandbox default 1
$ crictl inspects e1c8 $ crictl inspectp e1c8
... displays information about the pod and the pod sandbox pause container. ... displays information about the pod and the pod sandbox pause container.
``` ```
* Note: As shown above, you may use truncated IDs if they are unique. * Note: As shown above, you may use truncated IDs if they are unique.

View File

@ -31,13 +31,13 @@ crictl_rm_stopped_containers() {
crictl_stop_pods() { crictl_stop_pods() {
for x in $($CRICTL_CLI pods | awk '{ print $1 }' | awk '{if(NR>1)print}') ;do for x in $($CRICTL_CLI pods | awk '{ print $1 }' | awk '{if(NR>1)print}') ;do
$CRICTL_CLI stops $x $CRICTL_CLI stopp $x
done done
} }
crictl_rm_pods() { crictl_rm_pods() {
for x in $($CRICTL_CLI pods | awk '{ print $1 }' | awk '{if(NR>1)print}') ;do for x in $($CRICTL_CLI pods | awk '{ print $1 }' | awk '{if(NR>1)print}') ;do
$CRICTL_CLI rms $x $CRICTL_CLI rmp $x
done done
} }

View File

@ -2,5 +2,5 @@ RUNC_VERSION=9f9c96235cc97674e935002fc3d78361b696a69e
CNI_VERSION=v0.6.0 CNI_VERSION=v0.6.0
CONTAINERD_VERSION=f12ba2407e328c98f8be5eacbb9c510b073dd4c0 CONTAINERD_VERSION=f12ba2407e328c98f8be5eacbb9c510b073dd4c0
CONTAINERD_REPO= CONTAINERD_REPO=
CRITOOL_VERSION=ded07bb08aa23492fa0233bb3af8c4629875f286 CRITOOL_VERSION=240a840375cdabb5860c75c99e8b0d0a776006b4
KUBERNETES_VERSION=0caa20c65f147e15f5545862510eb7e81c42b0a3 KUBERNETES_VERSION=0caa20c65f147e15f5545862510eb7e81c42b0a3