5.2. Visualisation de la configuration du réseau de la grappe
Chaque nouvelle installation d'OpenShift Container Platform possède un objet network.config nommé cluster.
Procédure
Utilisez la commande
oc describepour afficher la configuration du réseau de la grappe :$ oc describe network.config/clusterExemple de sortie
Name: cluster Namespace: Labels: <none> Annotations: <none> API Version: config.openshift.io/v1 Kind: Network Metadata: Self Link: /apis/config.openshift.io/v1/networks/cluster Spec:1 Cluster Network: Cidr: 10.128.0.0/14 Host Prefix: 23 Network Type: OpenShiftSDN Service Network: 172.30.0.0/16 Status:2 Cluster Network: Cidr: 10.128.0.0/14 Host Prefix: 23 Cluster Network MTU: 8951 Network Type: OpenShiftSDN Service Network: 172.30.0.0/16 Events: <none>