Merge pull request #3716 from BenTheElder/cleanup-deprecated

cleanup long-deprecated flags
This commit is contained in:
Kubernetes Prow Robot
2024-12-09 18:32:03 +00:00
committed by GitHub
4 changed files with 8 additions and 47 deletions

View File

@@ -127,11 +127,11 @@ Flags:
--base-image string name:tag of the base image to use for the build (default "kindest/base:v20181203-d055041")
-h, --help help for node-image
--image string name:tag of the resulting image to be built (default "kindest/node:latest")
--kube-root string Path to the Kubernetes source directory (if empty, the path is autodetected)
--type string build type, default is docker (default "docker")
Global Flags:
--loglevel string logrus log level [panic, fatal, error, warning, info, debug] (default "warning")
-q, --quiet silence all stderr output
-v, --verbosity int32 info log verbosity, higher value produces more output
error building node image: failed to build kubernetes: failed to build images: exit status 2
```

View File

@@ -109,7 +109,7 @@ You can clone Kubernetes source code.
### Building image
```sh
➜ ~ kind build node-image --image kindest/node:main --kube-root $GOPATH/src/k8s.io/kubernetes
➜ ~ kind build node-image --image kindest/node:main $GOPATH/src/k8s.io/kubernetes
Starting to build Kubernetes
...
Image build completed.