How to change advanced network configuration in OCP 4

Solution In Progress - Updated -

Issue

  • Is it possible to modify ClusterNetworkCIDR post cluster installation in OpenShift 4?
  • How to change advanced network configuration in OCP 4 such as clusterNetworkMTU or openshiftSDNConfig mode:

    $ oc get network.config/cluster -o yaml
    apiVersion: config.openshift.io/v1
    kind: Network
    metadata:
    creationTimestamp: "2020-02-19T17:39:44Z"
    generation: 2
    name: cluster
    resourceVersion: "1943"
    selfLink: /apis/config.openshift.io/v1/networks/cluster
    uid: 33998c7d-c85b-4356-8702-082cb566b22d
    spec:
    clusterNetwork:
    - cidr: 10.128.0.0/14
      hostPrefix: 23
    externalIP:
      policy: {}
    networkType: OpenShiftSDN
    serviceNetwork:
    - 172.30.0.0/16
    status:
    clusterNetwork:
    - cidr: 10.128.0.0/14
      hostPrefix: 23
    clusterNetworkMTU: 1400
    networkType: OpenShiftSDN
    serviceNetwork:
    - 172.30.0.0/16
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In