[
https://issues.apache.org/jira/browse/SUBMARINE-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SUBMARINE-950:
-------------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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
> # TerminatingState: delete a submitting CR and waiting for the pods to be
> terminated
> # 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: [email protected]
For additional commands, e-mail: [email protected]