Skip to content

gawsoftpl/k8s-dev

Repository files navigation

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

About

Create k8s cluster for dev or tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages