Go to file
me a0521d44db Update versions 2023-04-09 20:59:30 +02:00
terraform Add README 2022-09-02 11:39:50 +02:00
.gitignore Add README 2022-09-02 11:39:50 +02:00
README.md README 2022-09-07 12:27:40 +02:00
install-kind-machine.sh Update versions 2023-04-09 20:59:30 +02:00
kind.yaml Update versions 2023-04-09 20:59:30 +02:00


Set up a kind machine for testing terraform etc.

My favourite distro is Fedora, so all code is made and tested for Fedora.

Initial setup

  1. Get yourself a virtual machine with Fedora
    • Local vm
    • DigitalOcean droplet
    • etc.
  2. You should probably have 2 vCPU and 8Gb RAM
  3. Clone repo
  4. Run ./install-kind-machine.sh to install tools

Create a cluster

This command will give you a 1 control node and 3 worker node cluster

kind create cluster --config=./kind.yaml

Delete a cluster

kind delete cluster --name onethree

This cluster do not survive a reboot of the host (that is how kind works).

Get started with terraform

In folder terraform is some starting code to get you started to connect cluster from host.

  1. Change to folder terraform
  2. Run command terraform init
  3. Then terraform plan
  4. Then terraform apply -auto-approve

You now have a cluster with an Loadbalancer ip that is available from host. Next step is probably to set up an ingress like traefik, nginx etc.