fp/scripts/kind-load.sh

16 lines
566 B
Bash
Raw Normal View History

2024-07-10 02:34:23 +00:00
#!/bin/bash
## this script copies images from local machine into the (kind) kubernetes image store.
## this is meant to save bandwidth and increase `tilt up` speed.
nodeslist=kind-control-plane
## we use individual `kind load` incantations for each image
## in case the image is not present locally, the next image will continue loading rather than bork
kind load docker-image postgres:16 --nodes $nodeslist
kind load docker-image redis:latest --nodes $nodeslist
kind load docker-image quay.io/jetstack/cert-manager-controller:v1.15.1 --nodes $nodeslist
exit 0