[Imporve][Flink-Kubernetes-V2] Update crd to the 1.8.0 version (#3640)
[Imporve][Flink-Kubernetes-V2] Update crd to the 1.8.0 version
diff --git a/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinkdeployments.flink.apache.org-v1.yml b/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinkdeployments.flink.apache.org-v1.yml
index 1888c9d..1d3695e 100644
--- a/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinkdeployments.flink.apache.org-v1.yml
+++ b/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinkdeployments.flink.apache.org-v1.yml
@@ -35,11 +35,13 @@
- 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:
@@ -61,6 +63,7 @@
- v1_16
- v1_17
- v1_18
+ - v1_19
type: string
ingress:
properties:
@@ -72,6 +75,21 @@
additionalProperties:
type: string
type: object
+ labels:
+ additionalProperties:
+ type: string
+ type: object
+ tls:
+ items:
+ properties:
+ hosts:
+ items:
+ type: string
+ type: array
+ secretName:
+ type: string
+ type: object
+ type: array
type: object
podTemplate:
properties:
@@ -767,6 +785,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -1289,6 +1316,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -1817,6 +1853,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -2853,6 +2898,13 @@
containerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -2895,6 +2947,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -2936,6 +3012,13 @@
ephemeralContainerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -2978,6 +3061,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -3021,6 +3128,13 @@
initContainerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -3063,6 +3177,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -3120,6 +3258,8 @@
type: string
reason:
type: string
+ resize:
+ type: string
startTime:
type: string
type: object
@@ -3831,6 +3971,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -4353,6 +4502,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -4881,6 +5039,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -5917,6 +6084,13 @@
containerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -5959,6 +6133,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -6000,6 +6198,13 @@
ephemeralContainerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -6042,6 +6247,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -6085,6 +6314,13 @@
initContainerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -6127,6 +6363,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -6184,6 +6444,8 @@
type: string
reason:
type: string
+ resize:
+ type: string
startTime:
type: string
type: object
@@ -6896,6 +7158,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -7418,6 +7689,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -7946,6 +8226,15 @@
timeoutSeconds:
type: integer
type: object
+ resizePolicy:
+ items:
+ properties:
+ resourceName:
+ type: string
+ restartPolicy:
+ type: string
+ type: object
+ type: array
resources:
properties:
claims:
@@ -8982,6 +9271,13 @@
containerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -9024,6 +9320,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -9065,6 +9385,13 @@
ephemeralContainerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -9107,6 +9434,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -9150,6 +9501,13 @@
initContainerStatuses:
items:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
containerID:
type: string
image:
@@ -9192,6 +9550,30 @@
type: string
ready:
type: boolean
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
restartCount:
type: integer
started:
@@ -9249,6 +9631,8 @@
type: string
reason:
type: string
+ resize:
+ type: string
startTime:
type: string
type: object
@@ -9284,6 +9668,8 @@
type: integer
initialSavepointPath:
type: string
+ checkpointTriggerNonce:
+ type: integer
upgradeMode:
enum:
- savepoint
@@ -9292,6 +9678,8 @@
type: string
allowNonRestoredState:
type: boolean
+ savepointRedeployNonce:
+ type: integer
type: object
restartNonce:
type: integer
@@ -9417,9 +9805,53 @@
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
diff --git a/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinksessionjobs.flink.apache.org-v1.yml b/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinksessionjobs.flink.apache.org-v1.yml
index 9ca93ee..7294f14 100644
--- a/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinksessionjobs.flink.apache.org-v1.yml
+++ b/streampark-flink/streampark-flink-kubernetes-v2/streampark-flink-kubernetes-crd/src/main/resources/crd/flinksessionjobs.flink.apache.org-v1.yml
@@ -35,11 +35,13 @@
- 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:
@@ -70,6 +72,8 @@
type: integer
initialSavepointPath:
type: string
+ checkpointTriggerNonce:
+ type: integer
upgradeMode:
enum:
- savepoint
@@ -78,6 +82,8 @@
type: string
allowNonRestoredState:
type: boolean
+ savepointRedeployNonce:
+ type: integer
type: object
restartNonce:
type: integer
@@ -184,9 +190,53 @@
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