1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nw-dual-stack-convert-back-single-stack.adoc
2023-10-30 10:13:25 -04:00

27 lines
835 B
Plaintext

:_mod-docs-content-type: PROCEDURE
[id="nw-dual-stack-convert-back-single-stack_{context}"]
= Converting to a single-stack cluster network
As a cluster administrator, you can convert your dual-stack cluster network to a single-stack cluster network.
.Prerequisites
* You installed the OpenShift CLI (`oc`).
* You are logged in to the cluster with a user with `cluster-admin` privileges.
* Your cluster uses the OVN-Kubernetes network plugin.
* The cluster nodes have IPv6 addresses.
* You have enabled dual-stack networking.
.Procedure
. Edit the `networks.config.openshift.io` custom resource (CR) by running the
following command:
+
[source,terminal]
----
$ oc edit networks.config.openshift.io
----
. Remove the IPv6 specific configuration that you have added to the `cidr` and `hostPrefix` fields in the previous procedure.