khuedoan-homelab/infra/Makefile
Khue Doan ad5e8cef86 Use VM instead of container for Kubernetes node
Squashed commit of the following:

commit 421e849664810ae41e493049edcc1ac2846ca6fc
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Apr 26 22:09:35 2021 +0700

    Move k8s nodes to LXD virtual machines instead of containers

    Avoid kernel issue and improve security (not using privileged containers)

commit 0ce297d0aee30e2253cd69c4ac93f21cf637f25a
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Apr 26 21:25:11 2021 +0700

    Adjust priority
2021-04-26 22:24:11 +07:00

15 lines
247 B
Makefile

.POSIX:
default: init apply
init:
terraform init
plan:
terraform plan
apply:
# TODO Apply LXD VMs in parallel github.com/
# Currently have to turn it off because it will not spread evenly accross LXD nodes
terraform apply --parallelism 1