networking: document masquerade subnet size requirement for UDN#116247
Open
Ultimate-etamitlU wants to merge 1 commit into
Open
networking: document masquerade subnet size requirement for UDN#116247Ultimate-etamitlU wants to merge 1 commit into
Ultimate-etamitlU wants to merge 1 commit into
Conversation
UDNs require internalMasqueradeSubnet >= /18 (IPv4). Each UDN uses two masquerade IPs via a forward-scanning allocator capped at MaxNetworks=4096. A smaller subnet exhausts IPs after a finite number of total creates, even across delete cycles, causing CrashLoopBackOff with "out of range" errors. Add a limitation bullet to the UDN limitations module and an IMPORTANT admonition to the day-2 masquerade subnet procedure. Clusters upgraded from pre-4.17 retain the /29 default (8 IPs) and must perform the day-2 change to 169.254.0.0/17 before using UDNs. Signed-off-by: Parikshit Khedekar <pkhedeka@redhat.com>
|
@Ultimate-etamitlU: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nw-udn-limitations.adoc:internalMasqueradeSubnetmust be/18or larger for IPv4 when UDNs are in usenw-ovn-k-day-2-masq-subnet.adocwarning UDN users about the minimum subnet size and directing pre-4.17 upgraded clusters to perform the day-2 change before creating UDNsContext
OCPBUGS-55362: clusters with small masquerade subnets hit an "out of range" crash after a finite number of UDN create/delete cycles. The OVN-Kubernetes network ID allocator uses a forward-scanning round-robin capped at MaxNetworks=4096. The masquerade IP formula (
10 + networkID×2) means the subnet must contain at least 8203 IPs — a/18minimum.Clusters installed before 4.17 retain the default
169.254.169.0/29(8 IPs), which cannot support any UDN. The existing day-2 procedure already covers how to change this; this PR adds the critical warning that UDN users must perform it on pre-4.17 upgraded clusters.Test plan
nw-udn-limitations.adoc— confirm limitation appears in UDN limitations sectionnw-ovn-k-day-2-masq-subnet.adoc— confirm IMPORTANT box appears before Prerequisites