Loading a docker image to a particular node ?

212 views
Skip to first unread message

Ahmet Temiz

unread,
Oct 5, 2022, 2:59:12 AM10/5/22
to kubernetes-sig-testing
Hi,

I am learning KIND. 
I  want to load an image only to control-panel node , not to worker node.
Is it possible ?
As far as I know,  "kind load docker-image" loads an image to all nodes.

regards

Benjamin Elder

unread,
Oct 5, 2022, 12:15:07 PM10/5/22
to Ahmet Temiz, kubernetes-sig-testing

$ kind load docker-image --help

Loads docker images from host into all or specified nodes by name

Usage:

  kind load docker-image <IMAGE> [IMAGE...] [flags]

Flags:

  -h, --help            help for docker-image

      --name string     the cluster context name (default "kind")

      --nodes strings   comma separated list of nodes to load images into

Global Flags:

      --loglevel string   DEPRECATED: see -v instead

  -q, --quiet             silence all stderr output

  -v, --verbosity int32   info log verbosity, higher value produces more output


--nodes is the flag you want


--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-te...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-testing/efc6ba34-8354-4385-b471-a5669f04215bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages