Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Gluster Storage

Chapter 8. Upgrading your Container-Native Storage Environment

This chapter describes the procedure to upgrade your environment from OpenShift 3.2 or 3.3 to OpenShift 3.4.

8.1. Pre-upgrade Task

Ensure you perform the following step before proceeding with the upgrade process.
  1. Edit the glusterfs DeploymentConfig and Heketi DeploymentConfig to change the Strategy > type from Rolling to Recreate in the DeploymentConfig files.
    # oc edit deploymentconfig glusterfs-dc-<IP-ADDR/Hostname> 
    # oc edit deploymentconfig heketi
    For example:
    apiVersion: v1
    kind: DeploymentConfig
    metadata:
      annotations:
      ...
      strategy:
        resources: {}
        rollingParams:
          intervalSeconds: 1
          maxSurge: 25%
          maxUnavailable: 25%
          timeoutSeconds: 600
          updatePeriodSeconds: 1
        type: Recreate
        ....

Important

Before upgrading your Container-Native Storage environment, you must ensure that you have upgraded and configured OpenShift Container Platform 3.4. For information on upgrading to OpenShift 3.4, see https://access.redhat.com/documentation/en/openshift-container-platform/3.4/single/installation-and-configuration/#upgrading-a-cluster