Skip to content

docs(troubleshooting): fix KubeOVN MASTER_NODES example path and key#483

Merged
kvaps merged 2 commits intomainfrom
docs/kubeovn-master-nodes-key-fix
Apr 12, 2026
Merged

docs(troubleshooting): fix KubeOVN MASTER_NODES example path and key#483
kvaps merged 2 commits intomainfrom
docs/kubeovn-master-nodes-key-fix

Conversation

@lexfrei
Copy link
Copy Markdown
Contributor

@lexfrei lexfrei commented Apr 11, 2026

What

Fixes the KubeOVN Not Scheduling troubleshooting example in content/en/docs/v1/install/kubernetes/generic.md:

  • The key was kube-ovn with a dash, but the field in packages/core/platform/values.yaml is networking.kubeovn.MASTER_NODES — no dash. A reader copying the old block ended up with a value block that matched nothing in the platform schema.
  • The YAML sketch was also missing apiVersion / kind / metadata, so it was not obvious which Package it was meant to patch. Rewrite the example as a full cozystack.cozystack-platform manifest that matches the documented path in the Platform Package reference, and add a cross-reference to that reference entry.

Why

Reported in the community chat:

в вельюсах платформы на гите kubeovn:
а в доках в траблшутинг разделе kube-ovn:

The typo was a drift between the packages/core/platform/values.yaml schema (where the field is networking.kubeovn.MASTER_NODES) and this troubleshooting example. The Platform Package reference (operations/configuration/platform-package.md) already uses the correct kubeovn form, so the troubleshooting example was the odd one out.

Verification

  • Checked the target field name against packages/core/platform/values.yaml in upstream cozystack/cozystack:

    networking:
      ...
      kubeovn:
        MASTER_NODES: ""
  • Confirmed that content/en/docs/v1/operations/configuration/platform-package.md already documents the same key path (networking.kubeovn.MASTER_NODES), so the fix aligns with the existing reference.

  • hugo builds cleanly; the troubleshooting section renders with the corrected manifest.

Out of scope

content/en/docs/v1/install/how-to/kubespan.md still uses kube-ovn: under spec.components.networking.values for an MTU override. That example needs its own verification pass against upstream chart values (mtu is not in packages/system/kubeovn/charts/kube-ovn/values.yaml at all, so it may already be stale) and is left for a follow-up.

The KubeOVN Not Scheduling troubleshooting example in the generic
Kubernetes install guide had two problems:

1. The key was kube-ovn (with a dash), but the field name in
   packages/core/platform/values.yaml (networking.kubeovn.MASTER_NODES)
   is kubeovn without a dash. A reader following the old example ended
   up with a block that matched no values in the platform schema.

2. The YAML sketch lacked an apiVersion/kind/metadata block, so it
   was not obvious which Package it was supposed to patch. Rewriting
   it as a full cozystack.cozystack-platform manifest ties it to the
   documented path in the Platform Package reference and matches what
   the platform chart actually consumes.

Also link back to the Platform Package reference entry for
networking.kubeovn.MASTER_NODES so readers can cross-check the field
name.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 11, 2026

Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit 6343fb6
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/69dac344e723eb000899efdd
😎 Deploy Preview https://deploy-preview-483--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 11, 2026

Warning

Rate limit exceeded

@lexfrei has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 5 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 8 minutes and 5 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 862dde60-45a5-4d67-95d5-940973c36dab

📥 Commits

Reviewing files that changed from the base of the PR and between c6bcf59 and 6343fb6.

📒 Files selected for processing (1)
  • content/en/docs/v1/install/kubernetes/generic.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/kubeovn-master-nodes-key-fix

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the troubleshooting documentation for Kubernetes installation by correcting the Package manifest structure for MASTER_NODES configuration. The changes include updating the component hierarchy and correcting the kubeovn key to match the platform package reference. A review comment suggests including the variant field in the example manifest to ensure consistency with other documentation examples.

spec:
components:
networking:
platform:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Package manifest is missing the variant field (e.g., variant: isp-full-generic), which is typically required for this resource. While this is a troubleshooting example, including it would ensure the manifest is complete and consistent with the installation examples provided earlier in this document (see line 224).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied — added variant: isp-full-generic to the Package manifest so the troubleshooting example is consistent with the other cozystack.cozystack-platform examples earlier in the same file (see the existing manifests at lines 224 and 405).

@lexfrei lexfrei marked this pull request as ready for review April 11, 2026 21:33
@lexfrei lexfrei requested review from kvaps and lllamnyp as code owners April 11, 2026 21:33
…ge manifest

The Package manifest in the generic Kubernetes install guide was
missing spec.variant, which is required for cozystack.cozystack-platform
and consistent with the other Package examples in the same file
(lines 224 and 405).

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
@kvaps kvaps merged commit 752cd40 into main Apr 12, 2026
6 checks passed
@kvaps kvaps deleted the docs/kubeovn-master-nodes-key-fix branch April 12, 2026 09:35
@lexfrei lexfrei self-assigned this Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants