-
-
Save klingklangdev/35343ab372476f6da5529a8b2872bc13 to your computer and use it in GitHub Desktop.
Revisions
-
chadcrowelllinuxacademy revised this gist
Jul 14, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ kubectl version --short # release the hold on versions of kubeadm and kubelet sudo apt-mark unhold kubeadm kubelet # install version 1.18.5 of kubeadm sudo apt install -y kubeadm=1.18.5-00 # hold the version of kubeadm at 1.18.5 -
chadcrowelllinuxacademy revised this gist
Jul 14, 2020 . 1 changed file with 8 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,13 @@ # get the version of the api server kubectl version --short # release the hold on versions of kubeadm and kubelet sudo apt-mark unhold kubeadm kubelet # install version 1.16.6 of kubeadm sudo apt install -y kubeadm=1.18.5-00 # hold the version of kubeadm at 1.18.5 sudo apt-mark hold kubeadm # verify the version of @@ -23,19 +17,19 @@ kubeadm version sudo kubeadm upgrade plan # upgrade the controller components sudo kubeadm upgrade apply v1.18.5 # release the hold on the version of kubectl sudo apt-mark unhold kubectl # upgrade kubectl sudo apt-install -y kubectl=1.18.5-00 # hold the version of kubectl at 1.18.5 sudo apt-mark hold kubectl # Upgrade kubelet to 1.18.5 sudo apt install -y kubelet=1.18.5-00 # hold the version of kubelet at 1.18.5 sudo apt-mark hold kubelet -
chadcrowelllinuxacademy revised this gist
Jan 23, 2020 . 1 changed file with 18 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,41 +1,41 @@ # get the version of the api server kubectl version --short # view the version of kubelet kubectl describe nodes # view the version of controller-manager pod kubectl get po [controller_pod_name] -o yaml -n kube-system # release the hold on versions of kubeadm and kubelet sudo apt-mark unhold kubeadm kubelet # install version 1.16.6 of kubeadm sudo apt install -y kubeadm=1.16.6-00 # hold the version of kubeadm at 1.16.6 sudo apt-mark hold kubeadm # verify the version of kubeadm version # plan the upgrade of all the controller components sudo kubeadm upgrade plan # upgrade the controller components sudo kubeadm upgrade apply v1.16.6 # release the hold on the version of kubectl sudo apt-mark unhold kubectl # upgrade kubectl sudo apt-install -y kubectl=1.16.6-00 # hold the version of kubectl at 1.16.6 sudo apt-mark hold kubectl # Upgrade kubelet to 1.16.6 sudo apt install -y kubelet=1.16.6-00 # hold the version of kubelet at 1.16.6 sudo apt-mark hold kubelet -
chadmcrowell revised this gist
Jul 23, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ sudo apt-install -y kubectl=1.14.1-00 #hold the version of kubectl at 1.14.1 sudo apt-mark hold kubectl #Upgrade kubelet sudo apt install -y kubelet=1.14.1-00 #hold the version of kubelet at 1.14.1 -
chadmcrowell revised this gist
Jul 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ kubectl version --short #view the version of kubelet kubectl describe nodes #view the version of controller-manager pod kubectl get po [controller_pod_name] -o yaml -n kube-system -
chadmcrowell created this gist
Jul 22, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ #get the version of the api server kubectl version --short #view the version of kubelet kubectl get nodes #view the version of controller-manager pod kubectl get po [controller_pod_name] -o yaml -n kube-system #release the hold on versions of kubeadm and kubelet sudo apt-mark unhold kubeadm kubelet #install version 1.14.1 of kubeadm sudo apt install -y kubeadm=1.14.1-00 #hold the version of kubeadm at 1.14.1 sudo apt-mark hold kubeadm #verify the version of kubeadm version #plan the upgrade of all the controller components sudo kubeadm upgrade plan #upgrade the controller components sudo kubeadm upgrade apply v1.14.1 #release the hold on the version of kubectl sudo apt-mark unhold kubectl #upgrade kubectl sudo apt-install -y kubectl=1.14.1-00 #hold the version of kubectl at 1.14.1 sudo apt-mark hold kubectl #downgrade the version of kubelet (optional) sudo apt install -y kubelet=1.14.1-00 #hold the version of kubelet at 1.14.1 sudo apt-mark hold kubelet