Skip to content

feat(bootstrap-gcp): Reduce infra footprint#241

Open
NautiluX wants to merge 2 commits intomainfrom
shrink-vms
Open

feat(bootstrap-gcp): Reduce infra footprint#241
NautiluX wants to merge 2 commits intomainfrom
shrink-vms

Conversation

@NautiluX
Copy link
Member

@NautiluX NautiluX commented Mar 13, 2026

Reduce the infrastructure requirements for gcp-based test environments

  • Remove requests and limits for most deployments
  • Smaller disk sizes
  • 3 CEPH nodes
  • Smaller compute instances

@NautiluX NautiluX requested a review from Copilot March 19, 2026 14:18
@NautiluX NautiluX changed the title feat(bootstrap-gcp): Shrink footprint feat(bootstrap-gcp): Reduce infra footprint Mar 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reduces the default GCP bootstrap infrastructure footprint and aligns installer profiles/resource overrides accordingly.

Changes:

  • Shrink GCP bootstrap VM sizing and reduce Ceph node count (4 → 3), plus adjust Ceph disk sizing and workspace image pool defaults.
  • Update installer profiles so production/minimal include monitoring defaults, and extend the “noRequests” resource profile to apply minimal request overrides for Loki components.
  • Update Go module dependencies and NOTICE files for updated Kubernetes module versions.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
internal/bootstrap/gcp/gcp.go Reduces VM definitions (sizes/counts) and updates install-config generation to match smaller infra footprint.
internal/bootstrap/gcp/gcp_test.go Adjusts unit tests to reflect the reduced number of instances/Ceph nodes.
internal/installer/config_manager_profile.go Changes profile defaults (monitoring enabled for prod/minimal; minimal datacenter name now matches dev) and ensures resource profile applies after monitoring config is set.
internal/installer/resource_profiles.go Adds Loki override entries for the no-requests resource profile via a shared helper.
internal/installer/config_manager_profile_test.go Updates expectations for new profile behavior (datacenter name + monitoring).
cli/cmd/init_install_config_test.go Updates minimal profile datacenter-name expectation.
cli/cmd/init_install_config_interactive_test.go Updates production profile expectation to include monitoring defaults.
go.mod Promotes golang.org/x/oauth2 and go-github to direct requirements.
NOTICE / internal/tmpl/NOTICE Bumps Kubernetes module entries from v0.35.2 to v0.35.3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NautiluX NautiluX requested a review from schrodit March 19, 2026 14:53
@NautiluX NautiluX force-pushed the shrink-vms branch 3 times, most recently from 2d0e8bd to bbea760 Compare March 20, 2026 13:31
@NautiluX NautiluX requested review from joka134 March 20, 2026 13:42
Signed-off-by: NautiluX <2600004+NautiluX@users.noreply.github.com>
Entry("prod profile", "prod", false, "production"),
Entry("production profile", "production", false, "production"),
Entry("minimal profile", "minimal", false, "minimal"),
Entry("minimal profile", "minimal", false, "dev"),
Copy link
Member

Choose a reason for hiding this comment

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

Why do we call the dc of minimal dev?

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.

3 participants