# flink-crd.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: flink-jobs.flink.logicamp.tech spec: group: flink.logicamp.tech names: kind: FlinkJob plural: flink-jobs singular: flink-job shortNames: - lfj scope: Namespaced versions: - name: v1beta1 served: true storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: jobName: type: string jobClass: type: string parallelism: type: integer jarUri: type: string flinkConfiguration: type: object additionalProperties: type: string resources: type: object properties: requests: type: object properties: memory: type: string cpu: type: string limits: type: object properties: memory: type: string cpu: type: string status: type: object properties: jobStatus: type: string startTime: type: string jobId: type: string additionalPrinterColumns: - name: Status type: string jsonPath: .status.jobStatus - name: Age type: date jsonPath: .metadata.creationTimestamp