Score:0

Upgrade Kubernetes Version using Kubespray

cz flag

I am trying to upgrade our bare metal cluster using Kubespray to K8s v1.14.10. Currently the cluster is on v1.14.3(master) and nodes on v1.14.7. I am using kubespray v2.11.0 . My understanding is it supports the upgrade from K8s v1.14.0 thru v1.15.3. So, I used the command as told in kubespray page to upgrade the cluster,

ansible-playbook -vvvv -b upgrade-cluster.yml -i inventory/poc-01/inventory.ini -e ansible_ssh_user=root -e kube_version=v1.14.10

However, I hit an error saying it could not upgrade to this version

    TASK [download : download | Download files / images] *******************************************************************************************************************************
    task path: /home/abc/ext/kubespray/roles/download/tasks/main.yml:39
    Thursday 30 December 2021  08:18:20 +0100 (0:00:00.433)       0:06:57.900 ***** 
    fatal: [node-01]: FAILED! => {
        "msg": "'dict object' has no attribute u'v1.14.10'"
    }

After a little search, I found that it looks up the version in this file. Apparently, it is not there. My question is - is it possible for me to upgrade to K8s 1.14.10 or should I only upgrade to v1.15.3 which is something that 2.11.0 version of kubespray supports. I am new to this.

Thank you

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.