Skip to content

Commit f20102c

Browse files
authored
Merge pull request #3994 from AnjaliMishra1st/docs-kind-load-images
docs: add example for loading multiple images with kind load docker-i…
2 parents 4a7f1c8 + 4f20f00 commit f20102c

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

site/content/docs/user/quick-start.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ wait for 30 seconds, do `--wait 30s`, for 5 minutes do `--wait 5m`, etc.
157157

158158
More usage can be discovered with `kind create cluster --help`.
159159

160-
The kind can auto-detect the [docker], [podman], or [nerdctl] installed and choose the available one. If you want to turn off the auto-detect, use the environment variable `KIND_EXPERIMENTAL_PROVIDER=docker`, `KIND_EXPERIMENTAL_PROVIDER=podman` or `KIND_EXPERIMENTAL_PROVIDER=nerdctl` to
160+
kind can auto-detect the [docker], [podman], or [nerdctl] installed and choose the available one. If you want to turn off the auto-detect, use the environment variable `KIND_EXPERIMENTAL_PROVIDER=docker`, `KIND_EXPERIMENTAL_PROVIDER=podman` or `KIND_EXPERIMENTAL_PROVIDER=nerdctl` to
161161
select the runtime.
162162

163163
## Interacting With Your Cluster
@@ -218,13 +218,21 @@ context name `kind` and delete that cluster.
218218
219219
## Loading an Image Into Your Cluster
220220

221-
Docker images can be loaded into your cluster nodes with:
221+
You can load one or more images into your kind cluster:
222222

223-
`kind load docker-image my-custom-image-0 my-custom-image-1`
223+
```bash
224+
kind load docker-image my-app:latest
225+
```
226+
227+
```bash
228+
kind load docker-image my-app:latest my-db:latest my-cache:latest
229+
```
224230

225-
> **Note**: If using a named cluster you will need to specify the name of the
226-
> cluster you wish to load the images into:
227-
> `kind load docker-image my-custom-image-0 my-custom-image-1 --name kind-2`
231+
Note: If using a named cluster you will need to specify the name of the cluster:
232+
233+
```bash
234+
kind load docker-image my-app:latest --name test-cluster
235+
```
228236

229237
Additionally, image archives can be loaded with:
230238
`kind load image-archive /my-image-archive.tar`
@@ -493,4 +501,4 @@ kind, the Kubernetes cluster itself, etc.
493501
[Private Registries]: /docs/user/private-registries
494502
[customize control plane with kubeadm]: https://kubernetes.io/docs/setup/independent/control-plane-flags/
495503
[access multiple clusters]: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/
496-
[release notes]: https://github.com/kubernetes-sigs/kind/releases
504+
[release notes]: https://github.com/kubernetes-sigs/kind/releases

0 commit comments

Comments
 (0)