feat: add scripts
This commit is contained in:
parent
be22d97ab9
commit
9a65f33ef1
2 changed files with 14 additions and 0 deletions
8
scripts/install-k3s-agent.sh
Normal file
8
scripts/install-k3s-agent.sh
Normal 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 -
|
||||||
6
scripts/install-k3s-server.sh
Normal file
6
scripts/install-k3s-server.sh
Normal 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 -
|
||||||
Reference in a new issue