You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For clusters managed by the Operator, auto-finalization is disabled and cannot be enabled. A major version upgrade is not complete until it is manually [finalized](#finalize-a-major-version-upgrade-manually). The Operator does not yet support the [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}) `cluster.auto_upgrade.enabled`.
14
+
15
+
For clusters managed by the {{ site.data.products.public-operator }}, auto-finalization is disabled and cannot be enabled. A major version upgrade is not complete until it is manually [finalized](#finalize-a-major-version-upgrade-manually). The {{ site.data.products.public-operator }} does not support the [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}) `cluster.auto_upgrade.enabled`.
@@ -58,6 +62,28 @@ Now, to complete a major-version upgrade, you must manually [finalize it](#final
58
62
59
63
</section>
60
64
65
+
{% else if page.name == 'upgrade-cockroachdb-kubernetes-operator.md' %}
66
+
67
+
By default, auto-finalization is enabled, and a major-version upgrade is finalized when all nodes have rejoined the cluster using the new `cockroach` binary. This means that by default, a major-version upgrade cannot be rolled back. Instead, you must [restore the cluster to the previous version]({% link {{ page.version.version }}/restoring-backups-across-versions.md %}#support-for-restoring-backups-into-a-newer-version).
68
+
69
+
To disable auto-finalization:
70
+
71
+
1. Connect to the cluster using the SQL shell:
72
+
73
+
{% include_cached copy-clipboard.html %}
74
+
~~~ shell
75
+
kubectl exec -it cockroachdb-client-secure \
76
+
-- ./cockroach sql \
77
+
--certs-dir=/cockroach-certs \
78
+
--host=cockroachdb-public
79
+
~~~
80
+
81
+
1. Set the [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}) `cluster.auto_upgrade.enabled` to `false`.
82
+
83
+
Now, to complete a major-version upgrade, you must manually [finalize it](#finalize-a-major-version-upgrade-manually) or [roll it back](#roll-back-a-major-version-upgrade).
84
+
85
+
{{ new_flag }}
86
+
61
87
{% else %}
62
88
63
89
By default, auto-finalization is enabled, and a major-version upgrade is finalized when all nodes have rejoined the cluster using the new `cockroach` binary. This means that by default, a major-version upgrade cannot be rolled back. Instead, you must [restore the cluster to the previous version]({% link {{ page.version.version }}/restoring-backups-across-versions.md %}#support-for-restoring-backups-into-a-newer-version).
0 commit comments