Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Session deployment #22

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
37 changes: 37 additions & 0 deletions manifests/pangeo-forge-session-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#https://github.com/apache/flink-kubernetes-operator/blob/main/examples/basic-session-deployment-only.yaml
apiVersion: flink.apache.org/v1beta1
kind: FlinkDeployment
metadata:
name: pforge-flink-session
spec:
image: flink:1.16
flinkVersion: v1_16
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
taskmanager.memory.flink.size: "1536m"
taskmanager.memory.task.off-heap.size: "256m"
taskmanager.memory.jvm-overhead.max: "1024m"
execution.runtime-mode: "BATCH"
serviceAccount: flink
jobManager:
resource:
memory: "2048m"
cpu: 1
taskManager:
resource:
memory: "2048m"
cpu: 1
podTemplate:
spec:
containers:
- name: "beam-worker-pool"
image: "apache/beam_python3.10_sdk:2.52.0"
ports:
- containerPort: 50000
readinessProbe:
tcpSocket:
port: 50000
periodSeconds: 10
#resource:
command: ["/opt/apache/beam/root"]
args: ["--worker_pool"]