-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BGD-5797] add bns role to list and patch CR (#224)
* add bns role to list and patch CR Why? We want the notebook-service to be able to watch sparkapp CR and add annotations `bigdata.spot.io/kill-requested-at` in them and let spark-watcher kill the app. This will happen at each kernel shutdown handled by bns * doc: bigdata-notebook-service killer clusterrole --------- Co-authored-by: Emmanuel Pignot <emmanuel.pignot@netapp.com>
- Loading branch information
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# bigdata-notebook-service | ||
|
||
## Cluster role | ||
|
||
### bigdata-notebook-service-bdenv-vXX-killer | ||
|
||
This role is used by bigdata-notebook-service to add the following SparkApp CR annotations: | ||
``` | ||
bigdata.spot-io/kill-reason | ||
bigdata.spot-io/kill-requested-at | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters