cdmikechen commented on issue #853: URL: https://github.com/apache/submarine/issues/853#issuecomment-1003221342
提供启停的 Rest 服务,具体处理逻辑: * 在表 notebook 中新增字段,代表是否启动,默认为 1 启动。 ```sql ALTER TABLE submarine.notebook ADD started TINYINT(1) DEFAULT 1; ``` * 提供 启动/停止 的 Rest 接口。 关闭接口会将 `started` 设置为 0。同时,删除指定的 `notebooks.kubeflow.org` 资源,相关其他资源(例如pvc、configmap、ingress等)不删除。 启动接口会将 `started` 设置为 1。重新创建 `notebooks.kubeflow.org` 资源。 * 新增 NoteBook 的 Status:stopped -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
