Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30411

Flink deployment stuck in UPGRADING state when deploy flinkdeployment without resource

    XMLWordPrintableJSON

Details

    Description

      In flink kubernetes operator 1.2.0. When i deploy a flinkdeployments without resource, the flink deployment stuck in UPGRADING state.

      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

       

      when i kubectl describe flinkdeployments, i found this error message

       

      maybe we can validate it when apply flinkdeployment?  When it is invalid, throw an error rather than apply flinkdeployment succeed.

       

       

      Attachments

        Issue Links

          Activity

            People

              nowke nowke
              tanjialiang tanjialiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: