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-cluster-network-operator.adoc
Divyam Pateriya fa91c0d2c0 Update CO version for oc get co/network command
Update CO version for oc get co/network command
2024-07-26 13:32:52 +00:00

47 lines
1.4 KiB
Plaintext

// Module included in the following assemblies:
// * networking/cluster-network-operator.adoc
:_mod-docs-content-type: PROCEDURE
[id="nw-cluster-network-operator_{context}"]
= Cluster Network Operator
The Cluster Network Operator implements the `network` API from the `operator.openshift.io` API group.
The Operator deploys the OVN-Kubernetes network plugin, or the network provider plugin that you selected during cluster installation, by using a daemon set.
.Procedure
The Cluster Network Operator is deployed during installation as a Kubernetes
`Deployment`.
. Run the following command to view the Deployment status:
+
[source,terminal]
----
$ oc get -n openshift-network-operator deployment/network-operator
----
+
.Example output
[source,terminal]
----
NAME READY UP-TO-DATE AVAILABLE AGE
network-operator 1/1 1 1 56m
----
. Run the following command to view the state of the Cluster Network Operator:
+
[source,terminal]
----
$ oc get clusteroperator/network
----
+
.Example output
[source,terminal]
----
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE
network 4.16.1 True False False 50m
----
+
The following fields provide information about the status of the operator:
`AVAILABLE`, `PROGRESSING`, and `DEGRADED`. The `AVAILABLE` field is `True` when
the Cluster Network Operator reports an available status condition.