Skip to content

Commit

Permalink
Add additional printer columns (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Wylde committed Jun 3, 2019
1 parent 390fa96 commit d3ff566
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,32 @@ spec:

scope: Namespaced
version: v1alpha1

additionalPrinterColumns:
- name: Phase
type: string
description: The current state machine phase for this FlinkApplication
JSONPath: .status.phase
- name: Cluster Health
type: string
description: The health of the Flink cluster
JSONPath: .status.clusterStatus.health
- name: Job Health
type: string
description: The health of the Flink job
JSONPath: .status.jobStatus.health
- name: Healthy TMs
type: string
JSONPath: ".status.clusterStatus.healthyTaskManagers"
priority: 1
- name: Total TMs
type: string
JSONPath: ".status.clusterStatus.numberOfTaskManagers"
priority: 1
- name: Job Restarts
type: integer
description: Number of times the job has restarted
JSONPath: .status.jobStatus.jobRestartCount
- name: Age
type: date
JSONPath: .metadata.creationTimestamp

0 comments on commit d3ff566

Please sign in to comment.