Skip to content

feat!: introducing sleeping status #773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 7, 2025

Conversation

prometherion
Copy link
Member

Kamaji already offers a scale-to-zero feature, which had some bugs prior to #771.

A TenantControlPlane, although scaled to zer,o was always marked as Ready even tho this was inaccurate, bringing some errors when scaling back to a positive amount of replicas, and logging false positive errors since the API Server wasn't yet ready from the Soot manager due to new pods being rolled out.

This PR introduces the new status enum Sleeping, useful to inform operators if a Tenant Control Plane is scaled to zero.

Marking the commit as important since a Custom Resource Definition update must be applied.

Copy link

netlify bot commented Apr 7, 2025

Deploy Preview for kamaji-documentation ready!

Name Link
🔨 Latest commit 61c2d80
🔍 Latest deploy log https://app.netlify.com/sites/kamaji-documentation/deploys/67f3a008fee27c0008248b1b
😎 Deploy Preview https://deploy-preview-773--kamaji-documentation.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 site configuration.

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
Marking this commit as breaking since a CustomResourceDefinition update
is required for users dealing with scale to zero since the introduction
of the new enum for the status field.

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
@prometherion prometherion force-pushed the feat/status-sleeping branch from c75cc64 to 61c2d80 Compare April 7, 2025 09:51
@avorima
Copy link
Contributor

avorima commented Apr 7, 2025

LGTM. Should update the KamajiControlPlane controller part to treat Sleeping as ready as a follow-up. Otherwise we'll rack up unneeded backoff.

@prometherion prometherion merged commit b68010e into clastix:master Apr 7, 2025
11 checks passed
@prometherion prometherion deleted the feat/status-sleeping branch April 7, 2025 14:44
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