diff --git a/experiment/kind-conformance-image-e2e.sh b/experiment/kind-conformance-image-e2e.sh index ed404d835680..c3c578721d1d 100755 --- a/experiment/kind-conformance-image-e2e.sh +++ b/experiment/kind-conformance-image-e2e.sh @@ -48,7 +48,7 @@ install_kind() { # build kubernetes / node image, e2e binaries build() { # build the node image w/ kubernetes - kind build node-image --kube-root="${PWD}" + kind build node-image "${PWD}" # ensure kubectl is in path local maybe_kubectl @@ -94,7 +94,7 @@ EOF --image=kindest/node:latest \ --retain \ --wait=1m \ - --loglevel=debug \ + -v=3 \ "--config=${ARTIFACTS}/kind-config.yaml" } diff --git a/kubetest/kind/kind.go b/kubetest/kind/kind.go index 2b899e7eff26..6ad6ca15d167 100644 --- a/kubetest/kind/kind.go +++ b/kubetest/kind/kind.go @@ -235,7 +235,7 @@ func (d *Deployer) Build() error { buildNodeImage = kindNodeImageLatest } - args := []string{"build", "node-image", "--type=" + buildType, flagLogLevel, "--kube-root=" + d.importPathK8s} + args := []string{"build", "node-image", "--type=" + buildType, flagLogLevel} if buildNodeImage != "" { args = append(args, "--image="+buildNodeImage) // override user-specified node image @@ -246,6 +246,7 @@ func (d *Deployer) Build() error { } // Build the node image (including kubernetes) + args = append(args, d.importPathK8s) cmd := exec.Command("kind", args...) if err := d.control.FinishRunning(cmd); err != nil { return err