export NAMESPACE=default
export DOCKER_PRIVATE_ENDPOINT=private.repo.com
export DOCKER_PRIVATE_USERNAME=user
export DOCKER_PRIVATE_PASSWORD=password
./create-private-docker-secret.sh
Script will create dev Kubernetes environment for dev or tests via Kind
- Create registry for multi node cluster
- Create registry proxy for docker.io and quay.io
- Create cluster k8s
- Add kind-registry to hosts table
echo "127.0.0.1 registry" >> /etc/hosts
- Run script
export WORKERS_NUM=0
./kind-dev-cluster.sh
Docker
k3d
kind