Download & install on your local machine :
Put this directory in your git project, then :
# Go to the root level of the git project
cd `git rev-parse --show-toplevel`
# Start kind wrapper
sh "$(find . -d -name 'kind')"/run.sh -c create
# Push your docker-compose images into the cluster
sh "$(find . -d -name 'kind')"/run.sh -c build -f docker-compose.yml
# Stop kind wrapper
sh "$(find . -d -name 'kind')"/run.sh -c delete
One single node is deployed but it can be customized in ./configs/kind-config.yml
. The cluster comes with Traefik ingress controller installed with port mapping on both ports 80
and 443
.
The node is using extraMounts
to provide a volume binding between host working directory and /app
to give the ability to bind mount volumes into containers during development.