mirror of https://github.com/k3s-io/k3s
commit
56083489e3
|
@ -280,8 +280,8 @@ function verify_from_container() {
|
|||
echo "waiting for $1 at $2:$3"
|
||||
results=($(ssh-to-node "${test_node}" "
|
||||
set -e;
|
||||
sudo docker pull busybox >/dev/null;
|
||||
sudo docker run busybox sh -c '
|
||||
sudo docker pull gcr.io/google_containers/busybox >/dev/null;
|
||||
sudo docker run gcr.io/google_containers/busybox sh -c '
|
||||
for i in $(seq -s' ' 1 $(($4*3))); do
|
||||
if wget -q -T 3 -O - http://$2:$3; then
|
||||
echo
|
||||
|
|
|
@ -172,7 +172,7 @@ func makeCheckPod(ns string, nfsserver string) *api.Pod {
|
|||
Containers: []api.Container{
|
||||
{
|
||||
Name: "scrub-checker",
|
||||
Image: "busybox",
|
||||
Image: "gcr.io/google_containers/busybox",
|
||||
Command: []string{"/bin/sh"},
|
||||
Args: []string{"-c", "test ! -e /mnt/index.html || exit 1"},
|
||||
VolumeMounts: []api.VolumeMount{
|
||||
|
|
|
@ -76,7 +76,7 @@ func testPreStop(c *client.Client, ns string) {
|
|||
Containers: []api.Container{
|
||||
{
|
||||
Name: "tester",
|
||||
Image: "busybox",
|
||||
Image: "gcr.io/google_containers/busybox",
|
||||
Command: []string{"sleep", "600"},
|
||||
Lifecycle: &api.Lifecycle{
|
||||
PreStop: &api.Handler{
|
||||
|
|
Loading…
Reference in New Issue