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

Provides a new stop entry for Kubernetes session mode

    XMLWordPrintableJSON

Details

    Description

      For the current Native Kubernetes session mode, the way to stop a session is:

      # (3) Stop Kubernetes session by deleting cluster deployment
      $ kubectl delete deployment/my-first-flink-cluster
      

      or

      $ echo 'stop' | ./bin/kubernetes-session.sh \
          -Dkubernetes.cluster-id=my-first-flink-cluster \
          -Dexecution.attached=true
      

      I think a more friendly interface should be added to stop the session mode, such as:

      $ ./bin/kubernetes-session.sh  stop   -Dkubernetes.cluster-id=my-first-flink-cluster
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              spoon-lz liuzhuo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: