pacoxu / kubeadm-operator

Test work on the design of kubeadm operator. Also you can try https://github.com/chendave/kubeadm-operator
Apache License 2.0
10 stars 2 forks source link

upgrade skip control-plane when kubelet is not upgraded #74

Closed pacoxu closed 2 years ago

pacoxu commented 2 years ago

2 nodes cluster: server v1.22.10

apiVersion: operator.kubeadm.x-k8s.io/v1alpha1
kind: Operation
metadata:
  name: upgrade-v1.22.10
spec:
  executionMode: Auto
  upgrade:
    kubernetesVersion: v1.22.10
    local: false

Current behavior

Upgrade runtime task generated

  1. upgrade worker

Expected behavior

Upgrade runtime task generated

  1. upgrade control-plane: kubeadm upgrade node
  2. upgrade worker