Howard Hill
10/02/2023, 3:46 PMAman Deep
10/02/2023, 3:49 PMAman Deep
10/03/2023, 3:53 AMAman Deep
10/03/2023, 4:27 AMapiVersion: <http://flink.apache.org/v1beta1|flink.apache.org/v1beta1>
kind: FlinkDeployment
metadata:
name: basic-example
spec:
image: flink:1.17
flinkVersion: v1_17
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
serviceAccount: flink
jobManager:
resource:
memory: "1024m"
cpu: 1
taskManager:
resource:
memory: "1024m"
cpu: 1
job:
jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar
parallelism: 1
upgradeMode: stateless
This is the flinkdeployment manifest that I am using. As per your initial response, are you saying that I need to modify this base image as well-
flink:1.17 ?
Do I need to copy the jar file in this image as well or just enable the ENV NABLE_BUILT_IN_PLUGINSAman Deep
10/03/2023, 4:27 AMAnh Nguyen
10/05/2023, 8:31 PMapiVersion: <http://flink.apache.org/v1beta1|flink.apache.org/v1beta1>
kind: FlinkDeployment
metadata:
name: basic-example
spec:
image: flink:1.17
flinkVersion: v1_17
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
serviceAccount: flink
podTemplate:
apiVersion: v1
kind: Pod
metadata:
name: pod-template
spec:
containers:
- name: flink-main-container
env:
- name: ENABLE_BUILT_IN_PLUGINS
value: flink-s3-fs-presto-1.17.1.jar
jobManager:
resource:
memory: "1024m"
cpu: 1
taskManager:
resource:
memory: "1024m"
cpu: 1
job:
jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar
parallelism: 1
upgradeMode: stateless
Anh Nguyen
10/05/2023, 8:33 PMs3p://
, s3://
should be sufficient