You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/12/14 09:31:00 UTC

[jira] [Commented] (FLINK-30411) Flink deployment stuck in UPGRADING state when deploy flinkdeployment without resource

    [ https://issues.apache.org/jira/browse/FLINK-30411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647012#comment-17647012 ] 

Gyula Fora commented on FLINK-30411:
------------------------------------

Could you please work on adding the required extra validation?

> Flink deployment stuck in UPGRADING state when deploy flinkdeployment without resource
> --------------------------------------------------------------------------------------
>
>                 Key: FLINK-30411
>                 URL: https://issues.apache.org/jira/browse/FLINK-30411
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>    Affects Versions: 1.16.0
>            Reporter: tanjialiang
>            Priority: Major
>         Attachments: image-2022-12-14-17-22-12-656.png
>
>
> In flink kubernetes operator 1.2.0. When i deploy a flinkdeployments without resource, the flink deployment stuck in UPGRADING state.
> {code:java}
> apiVersion: flink.apache.org/v1beta1
> kind: FlinkDeployment
> metadata:
> name: socket-window-word-count
> spec:
> image: flink:1.16.0-scala_2.12-java8
> flinkVersion: v1_16
> flinkConfiguration:
> taskmanager.numberOfTaskSlots: "1"
> serviceAccount: flink
> job:
> jarURI: local:///opt/flink/examples/streaming/WordCount.jar
> parallelism: 2
> upgradeMode: stateless{code}
>  
> when i kubectl describe flinkdeployments, i found this error message
> !image-2022-12-14-17-22-12-656.png!
>  
> maybe we can validate it when apply flinkdeployment?  When it is invalid, throw an error rather than apply flinkdeployment succeed.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)