mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 08:34:22 +00:00
Remove sudo from k0s install
This commit is contained in:
@@ -72,7 +72,7 @@ runcmd:
|
|||||||
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||||
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
||||||
# Install k0s
|
# Install k0s
|
||||||
- curl -sSLf https://get.k0s.sh | sudo sh
|
- curl -sSLf https://get.k0s.sh | sh
|
||||||
- k0s install controller --enable-worker
|
- k0s install controller --enable-worker
|
||||||
- systemctl enable --now k0scontroller
|
- systemctl enable --now k0scontroller
|
||||||
# Wait for k3s to be ready
|
# Wait for k3s to be ready
|
||||||
|
|||||||
Reference in New Issue
Block a user