Skip to content

fix: tune tenant capsule resource defaults#7

Merged
patrickleet merged 1 commit into
mainfrom
feat/tenant-resource-defaults
May 25, 2026
Merged

fix: tune tenant capsule resource defaults#7
patrickleet merged 1 commit into
mainfrom
feat/tenant-resource-defaults

Conversation

@patrickleet

Copy link
Copy Markdown
Contributor

Summary

  • Set Capsule controller-manager default resources to request 23m/283Mi and limit 100m/768Mi.
  • Set capsule-proxy default resources to request 15m/100Mi and limit 100m/256Mi.
  • Render defaults through mergeOverwrite so user Helm values layer over stack defaults.

Validation

  • make test: 10/10 passed.
  • make render:all passed.
  • make validate:all passed.
  • hops config install --path . completed with local build dev-17eee0515f30.
  • colima TenantStack default/pat-local is Synced=True Ready=True after reinstall.
  • pat-local capsule-controller-manager and capsule-proxy pods are 1/1 Running with the expected requests/limits.

@coderabbitai

coderabbitai Bot commented May 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@patrickleet, we couldn't start this review because you've used your available PR reviews for now.

Your plan includes 1 review of capacity. Refill in 11 minutes and 56 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, 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 trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a2210bcc-4d31-4436-b4ba-9c2c11c6f962

📥 Commits

Reviewing files that changed from the base of the PR and between f44e152 and 9294f50.

📒 Files selected for processing (3)
  • functions/render/200-capsule.yaml.gotmpl
  • functions/render/400-capsule-proxy.yaml.gotmpl
  • tests/test-render/main.k
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/tenant-resource-defaults

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.

@github-actions

Copy link
Copy Markdown

Published Crossplane Package

The following Crossplane package was published as part of this PR:

Package: ghcr.io/hops-ops/tenant-stack:pr-7-1274640bcf5e1bbabd30d34268ec842a8883ec44

View Package

@patrickleet patrickleet merged commit 3e12813 into main May 25, 2026
9 checks passed
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