[ 
https://issues.apache.org/jira/browse/SUBMARINE-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kai-Hsun Chen resolved SUBMARINE-950.
-------------------------------------
     Fix Version/s: 0.7.0
    Target Version: 0.7.0
        Resolution: Fixed

> Create state machine for submarine custom resource
> --------------------------------------------------
>
>                 Key: SUBMARINE-950
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-950
>             Project: Apache Submarine
>          Issue Type: New Feature
>            Reporter: Che-Kuang Chu
>            Assignee: Che-Kuang Chu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.7.0
>
>
> We have created the submarine custom resource and controlled it by the 
> operator. However,  we want to know the states such as "Creating", "Running", 
> "Terminating"  and "Failed" for the submarine custom resource, so we can 
> watch the states of it.
> States:
>  # NewState: initial state
>  # CreatingState: after submitting a submarine  CR and waiting for the pods 
> to be READY
>  # RunningState: after all pods are READY and RUNNING
>  # FailedState: when errors occur
> Reference:
> [https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/pkg/controller/sparkapplication/controller.go]
> .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org

Reply via email to