VPC: Why can't I create worker nodes on dedicated hosts?
When you try to create worker nodes on dedicated hosts, you see an error message similar to one of the following.
The dedicated hosts for the zone 'eu-de-2' are not ready.
Insufficient dedicated hosts available in zone 'us-south-3'.
Dedicated host has insufficient capacity
The possible causes for these issues include:
- There are no dedicated hosts in the specified zone or pool.
- There are not enough dedicated hosts available.
- There are not enough resources available on the dedicated host.
Complete the following steps to resolve the issue.
-
List your dedicated host pools and make a note of the pool ID.
ibmcloud oc dedicated pool ls
-
Lists the hosts in the pool and verify there are available hosts and that placement is enabled.
ibmcloud oc dedicated host ls --pool POOL
-
If there are no dedicated hosts in the zone, create a new dedicated host in the zone. After creating a host, replace the worker node to reprovision.
-
If there are available hosts in the zone, but placement is not enabled on the dedicated host you want to use, enable host placement.
ibmcloud oc dedicated host placement enable --host HOST --pool POOL
After enabling host placement, wait to see if provisioning succeeds. If you still see provisioning errors, continue the steps to verify there are enough resources available. Or, replace the worker node to reprovision.
-
-
If there are available hosts, and placement is enabled, review the details of your dedicated host and verify there are enough resources available to create the worker node.
ibmcloud oc dedicate host get --host HOST --pool POOL
You can also review your dedicated host resources in the console.
- If there are enough resources available, replace the worker node that failed to reprovision. Note that sometimes, it is impossible to reach 100% capacity.
- If there are not enough resources on the dedicated host, reallocate your workloads to free up capacity on the host, or create a new dedicated host in the zone.