<p>We have setup a Kubernetes cluster with a specific <code>service-cluster-ip-range</code>. Now, this range is fully used with IP addresses, so we cannot create new services. When trying to do so, we get the following error:</p>

<pre><code>Warning  ProvisioningFailed  2s    persistentvolume-controller  Failed to provision volume with StorageClass "glusterfs-storage": failed to create volume: failed to create endpoint/service default/glusterfs-dynamic-gluster-vol-mongodb-data-03: error creating service: Internal error occurred: failed to allocate a serviceIP: range is full
</code></pre>

<p>We must increase or change the cluster IP range.</p>

<p>We havn't found any documentation on how to change the cluster IP range. Is that even possible? What would be the steps to do it?</p>

<p>Thanks.</p>

Florian Coulmier
<p>You can change the cluster ip service range by modifying the /etc/kubernetes/manifest/kube-controller-manager.yaml file. However, you should cordon off the affected nodes and stop all delete all services/deployments so they can get recreated. You may need to change the setting of your cni plugin. I use Calico and it needed to change the cluster CIDR but not the service ip range. After changing the port; be sure to restart kubelet.</p>
