Hi Team, In Native Kubernetes Flink, is there a pr...
# troubleshooting
d
Hi Team, In Native Kubernetes Flink, is there a provision to mount secrets as volume. Our Use Case : Mount certificates as volume to the pods I understand that with Flink Kubernetes Operator we can achieve this by just adding the volumes, but does Native Flink Kubernetes provide any such option or flexibility ? Appreciate any inputs here. Thanks.
g
The operator internally uses the podTemplate mechanism exposed by the Flink Native Kubernetes integration.
d
Hi @Gyula Fóra, When I run using
Copy code
/bin/flink run-application
      --target kubernetes-application
Is there a way I can mount a secrets volume ? I don't see an option. My usecase is to mount certificates files to a volume mount, so I can use it in our flink job. For Eg:
kafka.ssl.trustore.location
Thanks
Hi Team, Anyone familiar with this use case ? This I believe should be a very common use case to have certificates mounted on a path. How would it work for Native Flink run using
/bin/flink run-application
Hi @Gyula Fóra @Martijn Visser, Any thoughts on this ? Thanks.
g
As I said earlier I think you need to use the podTemplate for this
d
Hi @Gyula Fóra, Native Flink does not have a podTemplate option. Are you suggesting to move to Flink Kubernetes Operator and there is no way to give this with Native Flink ?
g
It has , check the Flink docs please
1