Skip to content

Commit 88d32f3

Browse files
committed
OCPBUGS#6729: Validating admission webhook can block etcd cluster restore procedure
1 parent 965a927 commit 88d32f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/dr-restoring-cluster-state.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,14 @@ Perform the following step only if you are using `OVNKubernetes` network plugin.
296296
====
297297
+
298298
. Restart the Open Virtual Network (OVN) Kubernetes pods on all the hosts.
299+
+
300+
[NOTE]
301+
====
302+
Validating and mutating admission webhooks can reject pods. If you add any additional webhooks with the `failurePolicy` set to `Fail`, then they can reject pods and the restoration process can fail. You can avoid this by saving and deleting webhooks while restoring the cluster state. After the cluster state is restored successfully, you can enable the webhooks again.
299303

304+
Alternatively, you can temporarily set the `failurePolicy` to `Ignore` while restoring the cluster state. After the cluster state is restored successfully, you can set the `failurePolicy` to `Fail`.
305+
====
306+
+
300307
.. Remove the northbound database (nbdb) and southbound database (sbdb). Access the recovery host and the remaining control plane nodes by using Secure Shell (SSH) and run the following command:
301308
+
302309
[source,terminal]

0 commit comments

Comments
 (0)