Skip to content

Commit

Permalink
Add make target for loading images in kind
Browse files Browse the repository at this point in the history
Complement other multi-cluster make targets by supporting image loading
across kind clusters.
  • Loading branch information
zalimeni committed Jul 28, 2023
1 parent 8ca4f61 commit 78b3e1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ kind: kind-delete
kind create cluster --name dc3 --image $(KIND_NODE_IMAGE)
kind create cluster --name dc4 --image $(KIND_NODE_IMAGE)

# Helper target for loading local dev images (run with `DEV_IMAGE=...` to load non-k8s images)
kind-load:
kind load docker-image --name dc1 $(DEV_IMAGE)
kind load docker-image --name dc2 $(DEV_IMAGE)
kind load docker-image --name dc3 $(DEV_IMAGE)
kind load docker-image --name dc4 $(DEV_IMAGE)

# ===========> Shared Targets

help: ## Show targets and their descriptions.
Expand Down

0 comments on commit 78b3e1b

Please sign in to comment.