Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 682 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 682 Bytes

Overview

1. Create secrets for private repo for k8s

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

2. Create kind cluster

Script will create dev Kubernetes environment for dev or tests via Kind

  1. Create registry for multi node cluster
  2. Create registry proxy for docker.io and quay.io
  3. Create cluster k8s

How to run

  1. Add kind-registry to hosts table
echo "127.0.0.1       registry" >> /etc/hosts
  1. Run script
export WORKERS_NUM=0
./kind-dev-cluster.sh

Requirements

Docker
k3d
kind