Skip to content

feat: implment activity rules in controller#1279

Open
siyuanfoundation wants to merge 1 commit into
kubeflow:notebooks-v2from
siyuanfoundation:culling
Open

feat: implment activity rules in controller#1279
siyuanfoundation wants to merge 1 commit into
kubeflow:notebooks-v2from
siyuanfoundation:culling

Conversation

@siyuanfoundation

Copy link
Copy Markdown

closes: #867

This PR implements the following:

  1. Implement activity probing via Jupyter API polling and pod exec scripts
  2. Evaluate activity rules to determine when workspaces should be paused
  3. Integrate with reconciliation to schedule probes and enforce culling decisions

Tested with tilt using JupyterLab WorkspaceKind.

  1. verified eligibleAfter is properly populated, and the workspace is paused after being idle exceeding the secondsSinceActive
  2. workspace is restarted and back running.
  3. workspace is not paused if workspace stays active, and activity is resumed in time before the next probe.

Signed-off-by: siyuanfoundation <sizhang@google.com>
@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign andyatmiami for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow Bot added the area/backend area - related to backend components label Jul 24, 2026
@google-oss-prow google-oss-prow Bot added area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 size/XXL labels Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/backend area - related to backend components area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 size/XXL

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant