Re: Handling environment variables in Flink and within the Flink Operator

2022-08-24 Thread Edgar H
Morning Francis, Thanks a lot for the response! Just tried but no luck so far, the Java code reading the env vars won't catch it. Are those envs promoted to jobs launched from the operator or ignored? Thanks! El mié., 24 ago. 2022 0:40, Francis Conroy escribió: > Hi Edgar, > > this is how we

Re: Handling environment variables in Flink and within the Flink Operator

2022-08-23 Thread Francis Conroy
Hi Edgar, this is how we've been doing it and it's working well. apiVersion: flink.apache.org/v1beta1 kind: FlinkDeployment metadata: namespace: flink name: redacted-job spec: image: flink:1.15-java11 flinkVersion: v1_15 flinkConfiguration: taskmanager.numberOfTaskSlots: "1" kub

Handling environment variables in Flink and within the Flink Operator

2022-08-23 Thread Edgar H
Morning all! Recently we've been trying to migrate from some custom in-house code we've got to manage our k8s cluster with Flink running into the recently released operator. However, we found an issue when parsing environment variables into the arguments which are sent into the jobs - not being a