k8s/devinfra/equinix_k3s/README.md
./setup_raid.sh <SERVER_IP>
~/bin if that's not in your path choose somewhere that is)curl -sLS https://get.k3sup.dev | sh
install k3sup ~/bin
EQUINIX_API_KEY=<api_key> \
EQUINIX_PROJECT_ID=<project_id> \
EQUINIX_METRO=<equinix metro of machines, eg. la> \
EIP=<eip> \
EIP_TAG=<eip_tag> \
SERVER_IPS=<comma separated list of IPS> \
AGENT_IPS=<optional comma separated list of IPS> \
./setup_k3s.sh <path/to/output/kubeconfig>
To teardown the cluster:
EIP=<eip> \
SERVER_IPS=<comma separated list of IPS> \
AGENT_IPS=<optional comma separated list of IPS> \
./teardown.sh