Xin Hao created FLINK-32214:
-------------------------------

             Summary: Fetch more info in the FlinkDeployment status by using 
the overview API
                 Key: FLINK-32214
                 URL: https://issues.apache.org/jira/browse/FLINK-32214
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
            Reporter: Xin Hao


Currently, we are using `/config` API to fetch the FlinkDeployment's basic info.
{code:java}
{
    "refresh-interval": 3000,
    "timezone-name": "Coordinated Universal Time",
    "timezone-offset": 0,
    "flink-version": "1.15.3",
    "flink-revision": "c41c8e5 @ 2022-11-10T10:39:02+01:00",
    "features": {
        "web-submit": true,
        "web-cancel": false
    }
} {code}
Can we switch to using `/overview` to obtain more helpful info?
{code:java}
{
    "taskmanagers": 27,
    "slots-total": 27,
    "slots-available": 0,
    "jobs-running": 27,
    "jobs-finished": 0,
    "jobs-cancelled": 2,
    "jobs-failed": 0,
    "flink-version": "1.15.3",
    "flink-commit": "c41c8e5"
} {code}
The most useful one for me is `jobs-running`.



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

Reply via email to