Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

v0.0.3

Compare
Choose a tag to compare
@pacoxu pacoxu released this 19 May 17:35
· 39 commits to main since this release
8bc13ed
make install
make deploy

Demo

For instance, I have a v1.23.6 cluster.

Actions

Create an operation like below:

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

After

[root@paco ~]# kubectl get operations,runtimetask,runtimetaskgroup
NAME                                          PHASE       GROUPS   SUCCEEDED   FAILED
operation.operator.kubeadm.x-k8s.io/upgrade   Succeeded   3        3

NAME                                                                  PHASE       STARTTIME   COMMAND   COMPLETIONTIME
runtimetask.operator.kubeadm.x-k8s.io/upgrade-01-upgrade-apply-paco   Succeeded   9h          3/3       9h

NAME                                                                  PHASE       NODES   SUCCEEDED   FAILED
runtimetaskgroup.operator.kubeadm.x-k8s.io/upgrade-01-upgrade-apply   Succeeded   1       1
runtimetaskgroup.operator.kubeadm.x-k8s.io/upgrade-02-upgrade-cp      Succeeded
runtimetaskgroup.operator.kubeadm.x-k8s.io/upgrade-02-upgrade-w       Succeeded

[root@paco ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:52:18Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}