Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Add required fields to job cluster samples #482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/samples/flinkoperator_v1beta1_flinkjobcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
image:
name: flink:1.8.2
jobManager:
accessScope: Cluster
ports:
ui: 8081
resources:
Expand All @@ -37,5 +38,6 @@ spec:
className: org.apache.flink.streaming.examples.wordcount.WordCount
args: ["--input", "./README.txt"]
parallelism: 2
restartPolicy: Never
flinkProperties:
taskmanager.numberOfTaskSlots: "1"
2 changes: 2 additions & 0 deletions config/samples/flinkoperator_v1beta1_remotejobjar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
image:
name: flink:1.8.2
jobManager:
accessScope: Cluster
ports:
ui: 8081
resources:
Expand Down Expand Up @@ -53,6 +54,7 @@ spec:
- "cp"
- "gs://my-bucket/wordcount.jar"
- "/cache/wordcount.jar"
restartPolicy: Never
gcpConfig:
serviceAccount:
secretName: "gcp-service-account"
Expand Down