Added alpine
This commit is contained in:
14
ubuntu/k3s_control.sh
Normal file
14
ubuntu/k3s_control.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
echo "🚀 Instal·lant K3s Server (Master)..."
|
||||
curl -sfL https://get.k3s.io | sh -s - --node-ip 10.0.3.15
|
||||
#curl -sfL https://get.k3s.io | sh -
|
||||
sudo chown vagrant:vagrant /etc/rancher/k3s/k3s.yaml
|
||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
||||
|
||||
kubectl version
|
||||
kubectl get nodes
|
||||
kubectl get pods -A
|
||||
|
||||
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
|
||||
sudo mv kustomize /usr/local/bin
|
||||
|
||||
echo "✅ Master llest!"
|
||||
Reference in New Issue
Block a user