Added Vagrantfile without pods in the server

This commit is contained in:
2026-02-26 11:50:29 +01:00
parent 32f28e11ee
commit aaeadb87c2
3 changed files with 47 additions and 36 deletions

2
Vagrantfile vendored
View File

@@ -13,6 +13,8 @@ server_script = <<-SHELL
sudo chown vagrant:vagrant /etc/rancher/k3s/k3s.yaml
cp /var/lib/rancher/k3s/server/token /vagrant_shared
cp /etc/rancher/k3s/k3s.yaml /vagrant_shared
sleep 10
kubectl taint nodes server node-role.kubernetes.io/master=true:NoSchedule
SHELL
agent_script = <<-SHELL