Upgrading GlusterFS
You can upgrade your GlusterFS cluster that was configured in IBM® Cloud Private Version 3.1.0.
Your GlusterFS cluster is automatically upgraded if you configured GlusterFS in IBM Cloud Private Version 3.1.0 in one of the following ways:
- You configured GlusterFS while you installed your IBM Cloud Private cluster.
- You used the add-on command to configure GlusterFS after you installed IBM Cloud Private.
In IBM Cloud Private Version 3.1.0, if you configured GlusterFS by installing the Helm chart Version 1.1.0, complete these steps to upgrade the GlusterFS Helm chart to version 1.2.0 in IBM Cloud Private Version 3.1.1:
Note: If you do not want to upgrade, you can continue to use GlusterFS Helm chart Version 1.1.0 with IBM Cloud Private Version 3.1.1.
Before you begin, ensure that you set up the following CLIs:
Complete these steps to upgrade GlusterFS:
-
Patch GlusterFS daemonset and Heketi deployment. Run these commands:
-
Get the latest version of GlusterFS Helm chart that is installed.
helm list --tls | grep gluster
Following is a sample output:
gfsissue 1 Thu Oct 25 22:31:53 2018 DEPLOYED ibm-glusterfs-1.1.0 kube-system
-
Get the GlusterFS daemonset.
kubectl -n kube-system get daemonset -l glusterfs=daemonset
Following is a sample output:
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE gfsissue-glusterfs-daemonset 4 4 4 4 4 hostgroup=glusterfs 4m
-
Patch the daemonset.
kubectl -n kube-system patch daemonset gfsissue-glusterfs-daemonset --type json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/version"}]'
Following is a sample output:
daemonset.extensions/gfsissue-glusterfs-daemonset patched
-
Get information about Heketi deployment.
kubectl -n kube-system get deployment -l glusterfs=heketi-deployment
Following is a sample output:
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE gfsissue-glusterfs-heketi-deployment 1 1 1 0 3m
-
Patch Heketi deployment.
kubectl -n kube-system patch deployment gfsissue-glusterfs-heketi-deployment --type json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/version"}]'
Following is a sample output:
deployment.extensions/gfsissue-glusterfs-heketi-deployment patched
-
-
Log on to the management console.
- Locate the GlusterFS Helm chart.
- Click Upgrade to upgrade the chart to Version 1.2.0.