-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: add static label to notebook pods #265
Conversation
/test odh-notebook-controller-unit |
@rkpattnaik780: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hey Rama, I've reviewed the changes on my cluster, and indeed, when spinning up a new notebook, the controller successfully assigns the label. However, I encountered an issue when restarting an old notebook created by the previous version of the odh-controller; it couldn't attach this label. Furthermore, it seems necessary to modify the suite_test.go (potentially) and notebook_controller_test.go files to accommodate these new changes. |
/lgtm thanks 👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherrypick stable |
@harshad16: #265 failed to apply on top of branch "stable":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
new notebook pod / workbench label, interesting, thank you |
Description
The PR enables notebook controller to add a static label to the Notebook pods. The labels should be added for newly created workbenches or workbenches that have been restarted.
How Has This Been Tested?
odh-notebook-controller
needs to be replaced with quay.io/rpattnai/odh-notebook-controller:nb-label. Egopendatahub.io/workbenches: 'true'
.Merge criteria: