Docs/u2o interconnection subnet isolation#583
Docs/u2o interconnection subnet isolation#583changluyi wants to merge 2 commits intoalauda:masterfrom
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Run ID: 📒 Files selected for processing (1)
WalkthroughReplaces the previous subnet isolation fields ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: clyi <clyi@alauda.io>
b899196 to
f042674
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (2)
docs/en/configure/networking/how_to/kube_ovn/underlay_overlay_st.mdx (2)
67-76: Consider using placeholder notation for example CIDRs.The specific CIDRs
172.20.0.0/16and192.50.0.0/16may confuse users about their purpose. Consider adding a comment or using placeholder notation (e.g.,<OTHER_SUBNET_CIDR>) to clarify these should be replaced with the actual CIDRs of subnets the user wants to block.📝 Suggested improvement
spec: u2oInterconnection: true acls: - action: drop direction: to-lport # Ingress direction (traffic entering the logical port) - match: ip4.src == 172.20.0.0/16 + match: ip4.src == 172.20.0.0/16 # Replace with the CIDR of the subnet to isolate from priority: 1001 - action: drop direction: to-lport # Ingress direction - match: ip4.src == 192.50.0.0/16 + match: ip4.src == 192.50.0.0/16 # Replace with another subnet CIDR as needed priority: 1001🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/en/configure/networking/how_to/kube_ovn/underlay_overlay_st.mdx` around lines 67 - 76, The example ACLs use concrete CIDRs (match: ip4.src == 172.20.0.0/16 and match: ip4.src == 192.50.0.0/16) which can confuse readers; update the ACL examples under the acls block to use clearly-labeled placeholders like <BLOCKED_SUBNET_CIDR_1> and <BLOCKED_SUBNET_CIDR_2> or add a trailing comment clarifying these must be replaced with the user’s actual subnet CIDRs so readers know to substitute their own values for the match entries.
1-2: Filename uses underscores instead of kebab-case.The file is named
underlay_overlay_st.mdx, but coding guidelines require kebab-case for MDX files (e.g.,underlay-overlay-st.mdx). Since this is an existing file, renaming may be out of scope for this PR, but consider addressing it in a follow-up to maintain consistency.As per coding guidelines: "Use
kebab-casefor all MDX file and directory names".🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/en/configure/networking/how_to/kube_ovn/underlay_overlay_st.mdx` around lines 1 - 2, The filename underlay_overlay_st.mdx uses underscores instead of the required kebab-case; rename the file to underlay-overlay-st.mdx (and update any internal links or imports referencing underlay_overlay_st.mdx such as in navigation, sidebar, or other MDX/MD references) to comply with the project's MDX naming convention; if renaming in this PR is out of scope, add a TODO or issue to track renaming and include the exact target name underlay-overlay-st.mdx so the follow-up can update references safely.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@docs/en/configure/networking/how_to/kube_ovn/underlay_overlay_st.mdx`:
- Around line 67-76: The example ACLs use concrete CIDRs (match: ip4.src ==
172.20.0.0/16 and match: ip4.src == 192.50.0.0/16) which can confuse readers;
update the ACL examples under the acls block to use clearly-labeled placeholders
like <BLOCKED_SUBNET_CIDR_1> and <BLOCKED_SUBNET_CIDR_2> or add a trailing
comment clarifying these must be replaced with the user’s actual subnet CIDRs so
readers know to substitute their own values for the match entries.
- Around line 1-2: The filename underlay_overlay_st.mdx uses underscores instead
of the required kebab-case; rename the file to underlay-overlay-st.mdx (and
update any internal links or imports referencing underlay_overlay_st.mdx such as
in navigation, sidebar, or other MDX/MD references) to comply with the project's
MDX naming convention; if renaming in this PR is out of scope, add a TODO or
issue to track renaming and include the exact target name
underlay-overlay-st.mdx so the follow-up can update references safely.
Signed-off-by: clyi <clyi@alauda.io>
Summary by CodeRabbit