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 status object schema to CRD. #254

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,104 @@ spec:
openAPIV3Schema:
type: object
properties:
status:
type: object
properties:
phase:
type: string
reason:
type: string
failedDeployHash:
type: string
rollbackHash:
type: string
deployHash:
type: string
retryCount:
type: integer
startedAt:
type: string
lastUpdatedAt:
type: string
savepointTriggerId:
type: string
savepointPath:
type: string
clusterStatus:
type: object
properties:
clusterOverviewURL:
type: string
numberOfTaskManagers:
type: integer
healthyTaskManagers:
type: integer
numberOfTaskSlots:
type: integer
availableTaskSlots:
type: integer
health:
type: string
jobStatus:
type: object
properties:
jobOverviewURL:
type: string
jobID:
type: string
health:
type: string
state:
type: string
jarName:
type: string
parallelism:
type: integer
entryClass:
type: string
programArgs:
type: string
allowNonRestoredState:
type: boolean
startTime:
type: string
jobRestartCount:
type: integer
completedCheckpointCount:
type: integer
failedCheckpointCount:
type: integer
restorePath:
type: string
restoreTime:
type: string
lastFailingTime:
type: string
nullable: true
lastCheckpoint:
type: string
lastCheckpointTime:
type: string
nullable: true
runningTasks:
type: integer
totalTasks:
type: integer
lastSeenError:
type: object
properties:
appError:
type: string
method:
type: string
errorCode:
type: string
isRetryable:
type: boolean
isFailFast:
type: boolean
maxRetries:
type: integer
spec:
type: object
properties:
Expand Down