You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use install.sh script to install KubeOVN in version 1.11.0. I want to upgrade my cluster into version 1.11.1. It will fail if I use this helm command:
Is there any simple step to upgrade from install.sh script to Helm?
Use case
My quick heck to do that is by using this approach:
First, convert the same version into Halm. In my case, I have to convert from v1.11.0 install.sh script base into helm v1.11.0 base. Before I run helm install command, I need to add labels and annotations to existing KubeOVN objects. I use this script to do that:
Hello @ikandars
I think if your procedure is working fine and has no issues, we can add it to the kube-ovn documentation. We only need the approval of the main contributors @oilbeater
Feature request
I use install.sh script to install KubeOVN in version 1.11.0. I want to upgrade my cluster into version 1.11.1. It will fail if I use this helm command:
helm install --debug kubeovn ./kubeovn-helm --set MASTER_NODES=${Node0},
Is there any simple step to upgrade from install.sh script to Helm?
Use case
My quick heck to do that is by using this approach:
First, convert the same version into Halm. In my case, I have to convert from v1.11.0 install.sh script base into helm v1.11.0 base. Before I run
helm install
command, I need to add labels and annotations to existing KubeOVN objects. I use this script to do that:To get Helm charts, so we need clone the project first.
git clone https://github.com/kubeovn/kube-ovn.git cd kube-ovn git checkout v1.11.0
Once it done, then I create a custom helm values.yaml file where the value populated from existing deployment.
You can get all those values from
kubectl -n kube-system get deploy/kube-ovn-controller -o yaml
kubectl label no -lbeta.kubernetes.io/os=linux kubernetes.io/os=linux --overwrite kubectl label no -lnode-role.kubernetes.io/control-plane kube-ovn/role=master --overwrite kubectl label no -lovn.kubernetes.io/ovs_dp_type!=userspace ovn.kubernetes.io/ovs_dp_type=kernel --overwrite helm install --debug kubeovn .kubeovn-helm -f kubeovn-custom-values.yaml
Then check all KubeOVN related pods in running state.
kubectl -n kube-system get pod | grep -i ovn
Now, I run the following steps to do the upgrade via Helm:
Last, check the KubeOVN related pods status:
kubectl -n kube-system get pod | grep -i ovn
I found that version v1.11.2-v1.11.3 still use container image in version v1.11.1. I put set param in helm upgrade command to correct image tag:
The text was updated successfully, but these errors were encountered: