8
This commit is contained in:
parent
d7d7c96345
commit
1a1d6b8dfc
3
Makefile
3
Makefile
@ -18,3 +18,6 @@ common-tools:
|
|||||||
|
|
||||||
upgrade:
|
upgrade:
|
||||||
bash upgrade.sh
|
bash upgrade.sh
|
||||||
|
|
||||||
|
clear-ctrlr:
|
||||||
|
bash reset-ctrlr.sh
|
||||||
|
@ -1 +1,2 @@
|
|||||||
* <https://www.learnlinux.tv/how-to-build-an-awesome-kubernetes-cluster-using-proxmox-virtual-environment/>
|
* <https://www.learnlinux.tv/how-to-build-an-awesome-kubernetes-cluster-using-proxmox-virtual-environment/>
|
||||||
|
* <https://www.devopsschool.com/blog/how-to-delete-remove-clean-existing-corrupted-or-old-kubeadm-kubernetes-clusters-setup/>
|
||||||
|
3
initialize-k8s-ctrlr.sh
Executable file
3
initialize-k8s-ctrlr.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
kubeadm init --control-plane-endpoint=172.16.250.216 --node-name controller --pod-network-cidr=10.244.0.0/16
|
9
reset-ctrlr.sh
Executable file
9
reset-ctrlr.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
kubeadm reset -f
|
||||||
|
|
||||||
|
apt purge -y -f kubeadm kubectl kubelet kubernetes-cni kube* --allow-change-held-packages
|
||||||
|
|
||||||
|
apt autoremove -y --allow-change-held-packages
|
||||||
|
|
||||||
|
rm -rf ~/.kube
|
Loading…
Reference in New Issue
Block a user