Skip to content

docs(install): add Build Your Own Platform (BYOP) guide#437

Merged
kvaps merged 3 commits intomainfrom
docs/byop-guide
Feb 28, 2026
Merged

docs(install): add Build Your Own Platform (BYOP) guide#437
kvaps merged 3 commits intomainfrom
docs/byop-guide

Conversation

@kvaps
Copy link
Member

@kvaps kvaps commented Feb 28, 2026

Summary

  • Split install/cozystack/ into two sub-pages: "As a Platform" (existing content) and "Build Your Own Platform" (new BYOP guide)
  • Add documentation for using Cozystack with cozypkg CLI to selectively install individual packages
  • Update cross-references in use-cases, getting-started, and variants pages

Details

The BYOP guide covers:

  • Cozystack Operator installation
  • cozypkg CLI setup (Homebrew + GitHub releases)
  • Installing the platform package with default variant
  • Exploring and installing packages with dependency resolution
  • Networking variant selection (including noop for existing clusters)
  • Overriding component values
  • Removing packages

Summary by CodeRabbit

  • Documentation
    • Restructured installation guides to present two clear deployment paths: a ready-to-use platform mode and a customizable Build Your Own Platform (BYOP) mode for selective component installation.
    • Added comprehensive guides for both installation approaches, including step-by-step instructions for platform setup, component selection, networking configuration, and storage setup.
    • Updated existing documentation to reference the new installation paths and clarify available deployment options.

kvaps and others added 3 commits February 28, 2026 12:32
Restructure install/cozystack/ into an overview page with two
sub-pages: "As a Platform" (existing content) and "Build Your Own
Platform" (new BYOP guide).

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Add documentation for using Cozystack as a Kubernetes distribution
with the cozypkg CLI tool. Covers operator installation, cozypkg
setup, package management workflow, networking variants, component
value overrides, and package removal.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Update use-cases, getting-started, and variants pages with links
to the new BYOP guide. Rename "Kubernetes Distribution" use case
to "Build Your Own Platform".

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@netlify
Copy link

netlify bot commented Feb 28, 2026

Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit b36814a
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/69a2d28d91a4dc00080d2490
😎 Deploy Preview https://deploy-preview-437--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
Contributor

coderabbitai bot commented Feb 28, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ee24d66 and b36814a.

📒 Files selected for processing (6)
  • content/en/docs/v1/getting-started/install-cozystack.md
  • content/en/docs/v1/guides/use-cases/kubernetes-distribution.md
  • content/en/docs/v1/install/cozystack/_index.md
  • content/en/docs/v1/install/cozystack/kubernetes-distribution.md
  • content/en/docs/v1/install/cozystack/platform.md
  • content/en/docs/v1/operations/configuration/variants.md

📝 Walkthrough

Walkthrough

Documentation restructuring introduced two distinct Cozystack deployment paths: "As a Platform" (ready-to-use) and "Build Your Own Platform (BYOP)" (selective component installation). The installation guide was consolidated and split into dedicated guides for each path, with supporting documentation updates across related topics.

Changes

Cohort / File(s) Summary
Installation Guide Restructuring
content/en/docs/v1/install/cozystack/_index.md
Consolidated from detailed multi-section guide to two-branch structure (Platform vs. BYOP), removing extensive configuration examples and intermediate steps while maintaining core installation pathways.
New Platform Installation Documentation
content/en/docs/v1/install/cozystack/platform.md
New comprehensive guide covering platform deployment: cluster configuration, component tuning, network setup, storage configuration (LINSTOR), MetalLB/IP setup, and finalization steps with verification commands.
New BYOP Installation Documentation
content/en/docs/v1/install/cozystack/kubernetes-distribution.md
New guide detailing Build Your Own Platform workflow: PackageSource and Package resources, cozypkg CLI usage, operator/package installation, dependency resolution, and component customization for selective deployments.
Related Documentation Updates
content/en/docs/v1/getting-started/install-cozystack.md, content/en/docs/v1/guides/use-cases/kubernetes-distribution.md, content/en/docs/v1/operations/configuration/variants.md
Added alert highlighting BYOP as alternate path; updated use-case guidance to reference BYOP applicability; augmented variant description with BYOP workflow context.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Two paths now hop where once was one,
Platform ready, BYOP fun!
The docs now glow with structured light,
A rabbit's gift—install just right! 📚✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/byop-guide

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.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly refactors the Cozystack installation documentation to provide clearer guidance for users. It introduces a new 'Build Your Own Platform (BYOP)' approach, allowing users to selectively install Cozystack components on existing Kubernetes clusters using the cozypkg CLI. This change aims to improve flexibility and cater to a wider range of deployment scenarios, while also maintaining a dedicated guide for full platform installations.

Highlights

  • Documentation Reorganization: The Cozystack installation documentation has been restructured, splitting the install/cozystack/ section into two distinct guides: 'As a Platform' and 'Build Your Own Platform (BYOP)'.
  • New BYOP Guide: A comprehensive 'Build Your Own Platform (BYOP)' guide has been added, detailing how to selectively install individual Cozystack packages using the cozypkg CLI tool on an existing Kubernetes cluster.
  • Cozypkg CLI Usage: The new BYOP guide includes instructions for setting up the cozypkg CLI, installing the platform package with the default variant, exploring and installing packages with dependency resolution, selecting networking variants (including noop), overriding component values, and removing packages.
  • Updated Cross-References: Existing documentation pages, including getting-started, use-cases, and variants, have been updated with new cross-references to align with the reorganized installation guides and the introduction of the BYOP concept.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • content/en/docs/v1/getting-started/install-cozystack.md
    • Added an informational alert box directing users to the new BYOP installation guide.
  • content/en/docs/v1/guides/use-cases/kubernetes-distribution.md
    • Renamed the page title and link title to 'Build Your Own Platform (BYOP)'.
    • Rewrote the content to describe the BYOP mode and the cozypkg CLI tool's use cases.
  • content/en/docs/v1/install/cozystack/_index.md
    • Refactored the page to serve as an index for two installation modes: 'As a Platform' and 'Build Your Own Platform (BYOP)'.
    • Removed the detailed installation steps, which were moved to new dedicated pages.
  • content/en/docs/v1/install/cozystack/kubernetes-distribution.md
    • Added a new comprehensive guide for the 'Build Your Own Platform (BYOP)' installation method.
  • content/en/docs/v1/install/cozystack/platform.md
    • Added a new dedicated guide for installing Cozystack as a complete platform, containing content previously in _index.md.
  • content/en/docs/v1/operations/configuration/variants.md
    • Updated the description of the default variant to explicitly link it to the new BYOP workflow.
Activity
  • No human activity has been recorded on this pull request since its creation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
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 introduces a comprehensive 'Build Your Own Platform (BYOP)' guide, which is a great addition for users who need more granular control over their Cozystack installation. The refactoring of the installation documentation into 'As a Platform' and 'BYOP' tracks improves clarity and user experience. The new guide is well-structured and detailed. I've added a few minor suggestions to improve the clarity and consistency of the documentation examples.


```console
NAME VARIANTS READY STATUS
cozystack.cozystack-platform default,isp-full,isp-full... True ...
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The example output for VARIANTS is a bit confusing due to the repetition of isp-full and the ellipsis. To improve clarity and align with the variants documentation, consider listing the actual variants or a more representative subset.

This issue also appears in the console output example on lines 109 and 114. For consistency, you may want to update those as well.

Suggested change
cozystack.cozystack-platform default,isp-full,isp-full... True ...
cozystack.cozystack-platform default,isp-full,isp-full-generic,isp-hosted True ...


Each package consists of one or more components (Helm charts). You can override values for specific components by editing the Package resource directly.

The Package spec supports a `components` map where you can specify values for each component:
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For consistency and clarity, it's helpful to provide a filename for the YAML manifest, similar to how cozystack-platform.yaml is named in other parts of the documentation. This makes it easier for users to follow the instructions.

Suggested change
The Package spec supports a `components` map where you can specify values for each component:
The Package spec supports a components map where you can specify values for each component:
**metallb-package.yaml:**

@kvaps kvaps marked this pull request as ready for review February 28, 2026 11:41
@kvaps kvaps requested a review from lllamnyp as a code owner February 28, 2026 11:41
@kvaps kvaps merged commit 2f69169 into main Feb 28, 2026
6 checks passed
@kvaps kvaps deleted the docs/byop-guide branch February 28, 2026 11:41
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.

1 participant