Upgrade OpenEBS Control Plane
Upgrade-steps vary depending on the way OpenEBS was installed. Below are steps to upgrade OpenEBS Control Plane using some common ways. These upgrade procedures have to be carried out manually from the master node.
Use this mode of upgrade only if OpenEBS was installed using openebs-operator YAML spec.
NOTE:The sample steps below will work only if you have installed OpenEBS without modifying the default values in openebs-operator YAML. If you have customized the openebs-operator YAML for your cluster, you will have to download the desired openebs-operator YAML and customize it again.
kubectl apply -f https://openebs.github.io/charts/openebs-operator-<upgrade_version>.yamlAssumming we are upgrading to OpenEBS version 1.3.0 the command will be:
kubectl apply -f https://openebs.github.io/charts/openebs-operator-1.3.0.yaml
NOTE:The sample steps below will work if you have installed openebs with default values provided by stable/openebs helm chart.
Before upgrading via helm, please review the default values available with latest stable/openebs chart.
- If the default values seem appropriate, you can use the below command to update OpenEBS.
helm upgrade --reset-values <release_name> stable/openebs --version <upgrade_version>
- If not, customize the values in your YAML spec (say custom-values.yaml), by copying the content from default YAML and edit the values to suit your environment. You can upgrade using your custom values using:
helm upgrade <release_name> stable/openebs --version <upgrade_version> -f custom-values.yaml