Why is flannel not able to obtain a subnet ?. Following message "Failed to acquire subnet: out of subnet" is seen in the logs

Solution Unverified - Updated -

Issue

  • Why is flannel not able to obtain a subnet when a new node is added to the existing kubernetes cluster ?. Following message "Failed to acquire subnet: out of subnet" is seen in the logs
Feb 22 22:26:30 test flanneld[18494]: I0222 22:26:30.195636 18494 etcd.go:204] Picking subnet in range 10.233.65.0 ... 10.233.127.0
Feb 22 22:26:30 test flanneld[18494]: E0222 22:26:30.195700 18494 etcd.go:91] Failed to acquire subnet: out of subnets

Environment

  • Red Hat Enterprise Atomic Host 7.2
  • Multi node Kubernetes cluster environment.

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