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
Upgrade the custom resource definitions (CRDs).
Download the latest CRD configuration file from GitHub.
wget https://raw.githubusercontent.com/oceanbase/ob-operator/master/deploy/crd.yamlRun the following command to upgrade the CRDs:
kubectl apply -f crd.yaml
Upgrade ob-operator.
Download the latest ob-operator configuration file from GitHub.
wget https://raw.githubusercontent.com/oceanbase/ob-operator/master/deploy/operator.yamlRun the following command to upgrade ob-operator:
kubectl apply -f operator.yaml