-
Notifications
You must be signed in to change notification settings - Fork 451
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
[BUG] Lots of NoAvailableAddress errors #4775
Comments
I found a similar closed issue that might be relevant to your situation:
In your case, the To address this, you might want to ensure that the IP allocation logic is correctly configured to handle multiple subnets within a namespace. The logic for selecting a subnet involves checking namespace bindings, label selectors, and default configurations [3]. Make sure that your configuration aligns with these criteria to prevent unnecessary |
please attach the pod yaml, does the pod use static IP? |
not using a static IP,just a normal pod. I think it is because the code always selects the first subnet of namespce first. When the number of pods in a batch is greater than the number of available IPs in the first subnet, the pod will retry because there is no IP. |
|
the ovn-default cidr use mask /16, which is not enough ? |
we use vxlan mode, the subnet cird only use mask /21 |
I think using multiple subnets and using small bit masks is common in normal business, especially for large-scale clusters. |
you can use pod annotation to use the subnet which has available ip |
|
our business scenario is to schedule pods for batch processing tasks. each batch of pods may have hundreds or thousands of pods. |
|
we use /21 because tunnel_key in vxlan mode only supports this many bits at most. If /8 /16 subnet is used, will configuring ACL for isolation between services result in a very large subnet? will it be difficult to configure? |
how about using geneve? |
our company's IDC needs to use vxlan |
Kube-OVN Version
v1.12.29
Kubernetes Version
v1.28.11
Operation-system/Kernel Version
"CentOS Linux 7 (Core)" 5.10.0-228.2410.el7.bzl.x86_64
Description
When creating pods in batches, a large number of
NoAvailableAddress
errors occurNamespace kf-partition has multiple subenet
Subnet usage
Steps To Reproduce
Current Behavior
NoAvailableAddress
error causes pod to retryExpected Behavior
In multiple subenet when the subnet IP is not actually exhausted, do not cause pod retries due to
NoAvailableAddress
errorsThe text was updated successfully, but these errors were encountered: