Upgrade ob-operator

2024-04-19 08:27:25  Updated

This topic describes how to upgrade ob-operator by using configuration files. ob-operator cannot be upgraded by using Helm at present.

Upgrade ob-operator by using configuration files

  1. Upgrade the custom resource definitions (CRDs).

    1. Download the latest CRD configuration file from GitHub.

      wget https://raw.githubusercontent.com/oceanbase/ob-operator/master/deploy/crd.yaml
      
    2. Run the following command to upgrade the CRDs:

      kubectl apply -f crd.yaml
      
  2. Upgrade ob-operator.

    1. Download the latest ob-operator configuration file from GitHub.

      wget https://raw.githubusercontent.com/oceanbase/ob-operator/master/deploy/operator.yaml
      
    2. Run the following command to upgrade ob-operator:

      kubectl apply -f operator.yaml
      

Contact Us