Re: flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-12-01 Thread Andrew Otto
Ah, got it. Thanks! On Thu, Dec 1, 2022 at 11:34 AM Gyula Fóra wrote: > As I also mentioned in the email, this is on our roadmap for the operator > but we have not implemented it yet because this feature only became > available as of Flink 1.16. > > Ideally in the operator FlinkDeployment spec.

Re: flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-12-01 Thread Gyula Fóra
As I also mentioned in the email, this is on our roadmap for the operator but we have not implemented it yet because this feature only became available as of Flink 1.16. Ideally in the operator FlinkDeployment spec.flinkConfiguration section the user should be able to use env vars if this is added

Re: flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-12-01 Thread Andrew Otto
> Andrew please see my previous response, that covers the secrets case. > kubernetes.jobmanager.entrypoint.args: -D datadog.secret.conf=$MY_SECRET_ENV This way^? Ya that makes sense. It'd be nice if there was a way to get Secrets into the values used for rendering flink-conf.yaml too, so the con

Re: flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-12-01 Thread Gyula Fóra
Andrew please see my previous response, that covers the secrets case. Gyula On Thu, Dec 1, 2022 at 2:54 PM Andrew Otto wrote: > > several failures to write into $FLINK_HOME/conf/. > I'm working on > > buildi

Re: flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-12-01 Thread Andrew Otto
> several failures to write into $FLINK_HOME/conf/. I'm working on building Flink and flink-kubernetes-operator images for the Wikimedia Foundation, and I found this strange as well. It makes sense in a docker

Re: flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-11-30 Thread Gyula Fóra
Hi Lucas! The Flink kubernetes integration itself is responsible for mounting the configmap and overwriting the entrypoint not the operator. Therefore this is not something we can easily change from the operator side. However I think we are looking at the problem from the wrong side and there may

flink-kubernetes-operator: image entrypoint misbehaves due to inability to write

2022-11-30 Thread Lucas Caparelli
Hello folks, Not sure if this is the best list for this, sorry if it isn't. I'd appreciate some pointers :-) When using flink-kubernetes-operator [1], docker-entrypoint.sh [2] goes through several failures to write into $FLINK_HOME/conf/. We believe this is due to this volume being mounted from a