Observing node network state

    OpenShift Container Platform uses to report on and configure the state of the node network. This makes it possible to modify network policy configuration, such as by creating a Linux bridge on all nodes, by applying a single configuration manifest to the cluster.

    Node networking is monitored and updated by the following objects:

    NodeNetworkState

    Reports the state of the network on that node.

    NodeNetworkConfigurationPolicy

    NodeNetworkConfigurationEnactment

    Reports the network policies enacted upon each node.

    OpenShift Container Platform supports the use of the following nmstate interface types:

    • VLAN

    Viewing the network state of a node

    A NodeNetworkState object exists on every node in the cluster. This object is periodically updated and captures the state of the network for that node.

    Procedure

    1. List all the objects in the cluster:

    2. Example output

      1The name of the NodeNetworkState object is taken from the node.
      2The contains the complete network configuration for the node, including DNS, interfaces, and routes.
      3Timestamp of the last successful update. This is updated periodically as long as the node is reachable and can be used to evalute the freshness of the report.