blob: 7294f144a7d910eeb4b0c9bd385950a5811fc4cd [file] [log] [blame]
################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
# Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: flinksessionjobs.flink.apache.org
spec:
group: flink.apache.org
names:
kind: FlinkSessionJob
plural: flinksessionjobs
shortNames:
- sessionjob
singular: flinksessionjob
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Last observed state of the job.
jsonPath: .status.jobStatus.state
name: Job Status
priority: 0
type: string
- description: "Lifecycle state of the Flink resource (including being rolled\
\ back, failed etc.)."
jsonPath: .status.lifecycleState
name: Lifecycle State
priority: 0
type: string
name: v1beta1
schema:
openAPIV3Schema:
properties:
spec:
properties:
deploymentName:
type: string
job:
properties:
jarURI:
type: string
parallelism:
type: integer
entryClass:
type: string
args:
items:
type: string
type: array
state:
enum:
- running
- suspended
type: string
savepointTriggerNonce:
type: integer
initialSavepointPath:
type: string
checkpointTriggerNonce:
type: integer
upgradeMode:
enum:
- savepoint
- last-state
- stateless
type: string
allowNonRestoredState:
type: boolean
savepointRedeployNonce:
type: integer
type: object
restartNonce:
type: integer
flinkConfiguration:
additionalProperties:
type: string
type: object
type: object
status:
properties:
reconciliationStatus:
properties:
reconciliationTimestamp:
type: integer
lastReconciledSpec:
type: string
lastStableSpec:
type: string
state:
enum:
- DEPLOYED
- UPGRADING
- ROLLING_BACK
- ROLLED_BACK
type: string
type: object
jobStatus:
properties:
jobName:
type: string
jobId:
type: string
state:
type: string
startTime:
type: string
updateTime:
type: string
savepointInfo:
properties:
lastSavepoint:
properties:
timeStamp:
type: integer
location:
type: string
triggerType:
enum:
- MANUAL
- PERIODIC
- UPGRADE
- UNKNOWN
type: string
formatType:
enum:
- CANONICAL
- NATIVE
- UNKNOWN
type: string
triggerNonce:
type: integer
type: object
triggerId:
type: string
triggerTimestamp:
type: integer
triggerType:
enum:
- MANUAL
- PERIODIC
- UPGRADE
- UNKNOWN
type: string
formatType:
enum:
- CANONICAL
- NATIVE
- UNKNOWN
type: string
savepointHistory:
items:
properties:
timeStamp:
type: integer
location:
type: string
triggerType:
enum:
- MANUAL
- PERIODIC
- UPGRADE
- UNKNOWN
type: string
formatType:
enum:
- CANONICAL
- NATIVE
- UNKNOWN
type: string
triggerNonce:
type: integer
type: object
type: array
lastPeriodicSavepointTimestamp:
type: integer
type: object
checkpointInfo:
properties:
lastCheckpoint:
properties:
timeStamp:
type: integer
triggerType:
enum:
- MANUAL
- PERIODIC
- UPGRADE
- UNKNOWN
type: string
formatType:
enum:
- FULL
- INCREMENTAL
- UNKNOWN
type: string
triggerNonce:
type: integer
type: object
triggerId:
type: string
triggerTimestamp:
type: integer
triggerType:
enum:
- MANUAL
- PERIODIC
- UPGRADE
- UNKNOWN
type: string
formatType:
enum:
- FULL
- INCREMENTAL
- UNKNOWN
type: string
lastPeriodicCheckpointTimestamp:
type: integer
type: object
type: object
error:
type: string
observedGeneration:
type: integer
lifecycleState:
enum:
- CREATED
- SUSPENDED
- UPGRADING
- DEPLOYED
- STABLE
- ROLLING_BACK
- ROLLED_BACK
- FAILED
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}