You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "liuzhuo (Jira)" <ji...@apache.org> on 2021/08/31 06:34:00 UTC

[jira] [Created] (FLINK-24066) Provides a new stop entry for Kubernetes session mode

liuzhuo created FLINK-24066:
-------------------------------

             Summary: Provides a new stop entry for Kubernetes session mode
                 Key: FLINK-24066
                 URL: https://issues.apache.org/jira/browse/FLINK-24066
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Kubernetes
            Reporter: liuzhuo


For the current Native Kubernetes session mode, the way to stop a session is:
{code:java}
# (3) Stop Kubernetes session by deleting cluster deployment
$ kubectl delete deployment/my-first-flink-cluster
{code}
or
{code:java}
$ echo 'stop' | ./bin/kubernetes-session.sh \
    -Dkubernetes.cluster-id=my-first-flink-cluster \
    -Dexecution.attached=true
{code}
I think a more friendly interface should be added to stop the session mode, such as:
{code:java}
$ ./bin/kubernetes-session.sh  stop   -Dkubernetes.cluster-id=my-first-flink-cluster
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)