Skip to content

Commit 4a4a8a4

Browse files
committed
updated Flink example
1 parent 50cbcf2 commit 4a4a8a4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

examples/flink-basic-example.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ apiVersion: flink.apache.org/v1beta1
2020
kind: FlinkDeployment
2121
metadata:
2222
name: basic-example
23+
namespace: flink
24+
labels:
25+
app: flink
2326
spec:
24-
image: flink:1.15
27+
image: sjc.ocir.io/bigdatadatasciencelarge/testing/flink:1.15
2528
flinkVersion: v1_15
2629
flinkConfiguration:
2730
taskmanager.numberOfTaskSlots: "2"
@@ -30,12 +33,12 @@ spec:
3033
serviceAccount: flink
3134
jobManager:
3235
resource:
33-
memory: "2048m"
34-
cpu: 1
36+
memory: "1024m"
37+
cpu: 0.2
3538
taskManager:
3639
resource:
3740
memory: "2048m"
38-
cpu: 1
41+
cpu: 0.2
3942
job:
4043
jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar
4144
parallelism: 2

0 commit comments

Comments
 (0)