OpenShift's service network is running low on IP addresses

Solution Unverified - Updated -

Issue

  • There are many new services was created but there's only 1024 addresses for services. Is it possible to expand the network service from 192.168.x.0/22 to 192.168.x.0/21?

  • There is two settings in file `/etc/origin/master/master-config.yaml' that are related to the service network:

    servicesSubnet: 192.168.x.0/22
    serviceNetworkCIDR: 192.168.x.0/22
    

    Is it possible to change both values to 192.168.x.0/21? Is there any instructions to expand the service network?

  • When creating a new service, it fails with error:

    error: Internal error occurred: failed to allocate a serviceIP: range is full
    

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
    • 3.10

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content