1
0
Fork 0

feat: add scripts

This commit is contained in:
Vojtěch Mareš 2024-08-30 09:33:38 +02:00
parent be22d97ab9
commit 9a65f33ef1
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
INSTALL_K3S_EXEC="agent"
INSTALL_K3S_CHANNEL="v1.29"
K3S_URL=https://api.cthulhu.k8s.vxm.cz:6443
K3S_TOKEN="4412b6fa8f6d8b28f30070ba4bda844ecd186d2bc4f188731a982ae616b7956d"
curl -sfL https://get.k3s.io | K3S_URL=${K3S_URL} INSTALL_K3S_EXEC=${INSTALL_K3S_EXEC} INSTALL_K3S_CHANNEL=${INSTALL_K3S_CHANNEL} K3S_TOKEN=${K3S_TOKEN} sh -

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
INSTALL_K3S_EXEC="server"
INSTALL_K3S_CHANNEL="v1.28"
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC=${INSTALL_K3S_EXEC} INSTALL_K3S_CHANNEL=${INSTALL_K3S_CHANNEL} sh -