mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSDOCS-11874-fix: Updated Migrating from the OpenShift SDN network plugin doc to explain webhook prereq
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
877e557fb5
commit
010e16b06f
@@ -23,10 +23,19 @@ While performing the migration, your cluster is unavailable and workloads might
|
||||
* You can manually reboot each node.
|
||||
* You checked that your cluster is in a known good state without any errors.
|
||||
* You created a security group rule that allows User Datagram Protocol (UDP) packets on port `6081` for all nodes on all cloud platforms.
|
||||
* You set all timeouts for webhooks to `3` seconds or removed the webhooks.
|
||||
* You removed webhooks. Alternatively, you can set a timeout value for each webhook, which is detailed in the procedure. If you did not complete one of these tasks, your cluster might fail to schedule pods.
|
||||
|
||||
.Procedure
|
||||
|
||||
. If you did not remove webhooks, set the timeout value for each webhook to `3` seconds by creating a `ValidatingWebhookConfiguration` custom resource and then specify the timeout value for the `timeoutSeconds` parameter:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
oc patch ValidatingWebhookConfiguration <webhook_name> --type='json' \ <1>
|
||||
-p '[{"op": "replace", "path": "/webhooks/0/timeoutSeconds", "value": 3}]'
|
||||
----
|
||||
<1> Where `<webhook_name>` is the name of your webhook.
|
||||
|
||||
. To backup the configuration for the cluster network, enter the following command:
|
||||
+
|
||||
[source,terminal]
|
||||
|
||||
@@ -13,3 +13,4 @@ include::snippets/sdn-deprecation-statement.adoc[]
|
||||
To learn more about OVN-Kubernetes, read xref:../../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc#about-ovn-kubernetes[About the OVN-Kubernetes network plugin].
|
||||
|
||||
include::modules/nw-ovn-kubernetes-migration.adoc[leveloffset=+1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user