You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Kai-Hsun Chen (Jira)" <ji...@apache.org> on 2021/08/26 14:55:00 UTC

[jira] [Resolved] (SUBMARINE-950) Create state machine for submarine custom resource

     [ 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-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org