Skip to main content

Upgrade

This topic describes how to upgrade ob-operator.

Upgrade ob-operator by using Helm

For more information about the chart for upgrading ob-operator, visit Helm chart upgrade.

Upgrade ob-operator by using configuration files

If you upgrade ob-operator by using configuration files, you only need to reapply the configuration files of the new version of ob-operator. ob-operator is upgraded after it restarts.

  • Deploy the stable version of ob-operator

    kubectl apply -f https://raw.githubusercontent.com/oceanbase/ob-operator/2.2.1_release/deploy/operator.yaml
  • Deploy the developing version of ob-operator

    kubectl apply -f https://raw.githubusercontent.com/oceanbase/ob-operator/master/deploy/operator.yaml