Follow steps below to change Docker version to 17.12
1.Edit Docker version
kubectl edit configmap tectonic-torcx-runtime-mappings -n tectonic-system
change line docker: [ "17.03", "1.12"] to docker: [ "17.12"] under 1.8
2. Test the change on one node
a) kubectl edit node node-name
b) change annotation "container-linux-update.v1.coreos.com/reboot-needed" to true
c) monitor the node
kubectl get node node-name -o wide or from the Console
3.If step 2 was successful, update all cluster nodes one by one
kubectl get nodes | awk '{ if (NR!=1) { print $1 }}' | while read line; do kubectl annotate nodes --overwrite $line container-linux-update.v1.coreos.com/reboot-needed=true; done
4. Verify that all nodes got 17.12 Docker
kubectl get nodes -o wide
Comments
1 comment
Has Docker 17.12 been proven to work with K8S 1.9.6?
I see that the validated version for 1.9 is only 17.03
I'd love to be able to upgrade to support Docker's Multistage builds.
Please sign in to leave a comment.