Hector Malpica (Miuler)
09/02/2022, 10:05 AMFlinkDeployments for one process the migration using flink-kubernetes-operator. This deployments was called from one job of jenkins manually, this FlinkDeployment runing during few minutes and finish, but when they finish this FlinkDeployment your status stays at Runing, this is correct?
How do I make it delete automatically?Gyula F贸ra
09/02/2022, 10:12 AMHector Malpica (Miuler)
09/02/2022, 10:18 AMHector Malpica (Miuler)
10/26/2022, 3:19 PMflink-kubernetes-operator v1.2 and I just realized that my pods after finishing the job, do not shut down, how can I force them to shut down when finished?Martijn Visser
10/26/2022, 3:19 PMHector Malpica (Miuler)
10/26/2022, 3:24 PMGyula F贸ra
10/26/2022, 3:24 PMGyula F贸ra
10/26/2022, 3:25 PMyaml?Hector Malpica (Miuler)
10/26/2022, 3:26 PMHector Malpica (Miuler)
10/26/2022, 3:26 PMGyula F贸ra
10/26/2022, 3:27 PMGyula F贸ra
10/26/2022, 3:28 PMHector Malpica (Miuler)
10/26/2022, 3:48 PMapiVersion: <http://flink.apache.org/v1beta1|flink.apache.org/v1beta1>
kind: FlinkDeployment
metadata:
namespace: flink-wappe-pipeline
#name: migration-cosmosdb
name: migrate-cosmosdb-collection1
spec:
image: <http://xxxxxx.azurecr.io/migration-cosmosdb:latest|xxxxxx.azurecr.io/migration-cosmosdb:latest>
imagePullPolicy: Always
serviceAccount: flink
flinkVersion: v1_15
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
jobManager:
replicas: 1
resource:
memory: "4096m"
cpu: 1
taskManager:
resource:
memory: "4096m"
cpu: 1
ingress:
template: "<http://aks-xxxxx-ingress.eastus2.cloudapp.azure.com/{{namespace}}/{{name}}(/%7C$)(.*)|aks-xxxxx-ingress.eastus2.cloudapp.azure.com/{{namespace}}/{{name}}(/|$)(.*)>"
className: "nginx"
annotations:
<http://nginx.ingress.kubernetes.io/rewrite-target|nginx.ingress.kubernetes.io/rewrite-target>: "/$2"
podTemplate:
spec:
containers:
- name: flink-main-container
job:
jarURI: local:///migration-cosmosdb.jar
parallelism: 1
upgradeMode: stateless
args:
- --jobName=migracert-cosmosdb-shoppingexperiencescore
- --sourceDbUri=<mongodb://bd-xxxxx>:xxxxxx@bd-yyyy.documents.azure.com:10255/?ssl=true&retrywrites=false&replicaSet=globaldb
- --targetDbUri=jdbc:<postgresql://psql-xxxxxx.postgres.database.azure.com:5432/DB-yyyyy?user=zzzzz&password=qqqqqqqq&sslmode=require>
- --databaseName=bd-xxxxxxxxxx
- --runner=FlinkRunner
- --collections=collection1Hector Malpica (Miuler)
10/26/2022, 3:50 PMThe current operator behaviour is more optimized for streaming jobsI'm already realizing, this is going to be a problem 馃槩
Hector Malpica (Miuler)
10/26/2022, 3:55 PMGyula F贸ra
10/26/2022, 3:57 PMHector Malpica (Miuler)
10/26/2022, 4:00 PMHector Malpica (Miuler)
10/26/2022, 4:21 PM1.15, if I put in the FlinkDeployment flinkVersion: v1_14, it already works, and deletes the jobmanager.
Thanks Gyula, I will be attentive to the issue FLINK-29609