Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Web UI information to status #81

Merged
merged 3 commits into from
Aug 23, 2019
Merged

Add Web UI information to status #81

merged 3 commits into from
Aug 23, 2019

Conversation

glaksh100
Copy link
Contributor

This PR adds the cluster and job overview URLs to the cluster and job status respectively. The objective is to provide users easy access to the required Web UI. This information can also be used in any other CI/D tooling used to support Flink applications on k8s.

Example output:

Status:
  Cluster Status:
    Available Task Slots:     1
    Cluster Overview URL:     http://localhost:8001/api/v1/namespaces/default/services/simpleflinkk8s:8081/proxy/#/overview
    Health:                   Green
    Healthy Task Managers:    1
    Number Of Task Managers:  1
    Number Of Task Slots:     2
  Deploy Hash:                18051096
  Failed Deploy Hash:
  Job Status:
    Completed Checkpoint Count:  10
    Entry Class:                 com.lyft.OperatorTestApp
    Failed Checkpoint Count:     0
    Health:                      Green
    Jar Name:                    operator-test-app-1.0.0-SNAPSHOT.jar
    Job ID:                      c669950ee11c64980180eeaf9e62a63f
    Job Overview URL:            http://localhost:8001/api/v1/namespaces/default/services/simpleflinkk8s:8081/proxy/#/jobs/c669950ee11c64980180eeaf9e62a63f
    Job Restart Count:           0

@glaksh100
Copy link
Contributor Author

cc. @anandswaminathan @mwylde Updated this to store the ingress URL. PTAL when you have a chance.

@glaksh100 glaksh100 merged commit ba1533b into master Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants