lowc1012 opened a new pull request #468: URL: https://github.com/apache/submarine/pull/468
### What is this PR for? 1. The notebook REST api will return four states of notebook (creating/waiting/running/terminating) and its reason. - creating : Users submitted the request to create notebook and its pod haven't been created. - waiting : Still running the operations it requires in order to complete start up: for example, pulling the container image. - running : The container is executing without issues and readyReplicas equals to 1 - terminating : Users submitted the request to delete notebook 2. Refactoring K8sSubmitter 3. Update userdocs/k8s/api/notebook.md ### What type of PR is it? [Improvement | Documentation | Refactoring] ### Todos * [@kobe860219 ] - Front-end : Using RxJS to polling the status of notebook instance and adding spinner when notebook status is creating/waiting. ### What is the Jira issue? [SUBMARINE-675](https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-675) ### How should this be tested? [Travis CI](https://travis-ci.org/github/lowc1012/submarine/builds/747154671) ### Screenshots (if appropriate) <img width="1189" alt="image" src="https://user-images.githubusercontent.com/52355146/100850958-8209a480-34bf-11eb-83b3-cef183a893cd.png"> ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
