-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal error occurred: failed to allocate a serviceIP: range is ful #818
Comments
As this error message indicates the ip is exhausted, you can try using MultiCIDRServiceAllocator to allow more ips to be used, or to modify # ~/.kwok/kwok.yaml
kind: KwokctlConfiguration
apiVersion: config.kwok.x-k8s.io/v1alpha1
componentsPatches:
- name: kube-apiserver
extraArgs:
- key: service-cluster-ip-range
value: "10.96.0.0/12"
- name: kube-controller-manager
extraArgs:
- key: service-cluster-ip-range
value: "10.96.0.0/12" |
Thanks for the reply. Is it possible to use a single /24 CIDR instead with a 192.168.x.x range? |
As the code of apiserver seems impossible. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
any update on this issue? |
How to use it?
What happened?
I created a cluster with 220 nodes, then ran an operator that creates a Deployment and a Service per CR, and created 5000 different CRs across 4 namespaces, totalling 20,000 Deployments and Services.
This happend with only ~ 220-250 services in the whole cluster.
What did you expect to happen?
As per normal K8s, the service IPs are allocated normally. 5k per namespace is well within limits.
How can we reproduce it (as minimally and precisely as possible)?
Write a bash for loop to create > 255 services.
Anything else we need to know?
No response
Kwok version
OS version
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
The text was updated successfully, but these errors were encountered: