Questions tagged [kubernetes-upgrade]

7 questions
3
votes
2 answers

Difference between kubernetes recreate update strategy vs simply uninstall, install

When deciding on update strategy for a kubernetes application, there is an option to use Recreate strategy. How would this be different from just uninstalling and installing the app?
3
votes
1 answer

How to correctly update apiVersion of manifests prior to cluster upgrade?

So I did update the manifest and replaced apiVersion: extensions/v1beta1 to apiVersion: apps/v1 apiVersion: apps/v1 kind: Deployment metadata: name: secretmanager namespace: kube-system spec: selector: matchLabels: app:…
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
0
votes
0 answers

Kubernetes upgrade using kubespray is not changing version for nodes after upgrade

I upgraded my kubernetes cluster using kubespray from v1.26.5 to v1.27.0 using the below command : ansible-playbook cluster.yml -i inventory/mycluster/hosts.yaml --become --become-user=root -u atom -e kube_version=v1.27.0 -e…
0
votes
1 answer

Procedure to upgrade Kubernetes cluster offline

What are the steps for upgrading Kubernetes offline via kubeadm. I have a vanilla kubernetes cluster running with no access to internet. In order to upgrade kuberenetes when kubeadm upgrade plan 'command is executed, it reaches out to internet for…
Sanyam Goel
  • 2,138
  • 22
  • 40
0
votes
1 answer

Persistent Volume and Kubernetes upgrade

What happens to the persistent volume post cluster upgrade ? The Kubernetes cluster is for a stateful application. It has one pv and corresponding pvc for storing input data. I would like to understand if there is a way to preserve the input data…
0
votes
1 answer

Kubeadm 1.20.5 upgrade plan fails for versions < 1.19.x

Unfortunately we installed the new Kubeadm version 1.20.5. Ask me not why, it was a mistake. Anyway. At the moment we are unable to do the upgrade plan. I am trying this via console. kubeadm upgrade plan [upgrade/config] FYI: You can look at this…
Mchoeti
  • 536
  • 1
  • 8
  • 24
0
votes
1 answer

How to approach update of kops based kubernetes api's when upgrading the cluster?

Currently, we run kops based cluster of the version 15. We are planning to upgrade it to the version 16 first and then further. However, api versions for various kubernetes services in yaml's will also need to change. How would you address this…
Viji
  • 412
  • 4
  • 15