From 78b3e1b2a867a7c3d5f94df81595872e697138e9 Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Fri, 28 Jul 2023 10:55:05 -0400 Subject: [PATCH] Add make target for loading images in kind Complement other multi-cluster make targets by supporting image loading across kind clusters. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index e2c39de2ea..eb8e66b8c2 100644 --- a/Makefile +++ b/Makefile @@ -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.