[ 
https://issues.apache.org/jira/browse/FLINK-20324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239021#comment-17239021
 ] 

Yang Wang commented on FLINK-20324:
-----------------------------------

[~lublinsky] Thanks for your efforts on the native K8s integration.
 # You could find the environment setting in {{InitJobManagerDecorator}} and 
{{InitTaskManagerDecorator}}.
 # For the secret config options, it makes sense to distinguish them for 
JobManager and TaskManager. But I am sure whether it is really necessary. Feel 
free to create a new ticket if you come across this problem in you production 
environment. And we could make the current config option as default if 
specific(jobmanager/taskmanager) config option is not set.
 # I am afraid we do not have much progress on the pod template. So I agree 
with you that we could have the volume mounting separately. It is a more common 
feature that we need when using native K8s integration in production. Let's 
keep the volume mounting discussion under FLINK-15649. If we reach an 
agreement, I think you could take over that ticket and start the PR working.

> Support  customizing of containers for native kubernetes setup
> --------------------------------------------------------------
>
>                 Key: FLINK-20324
>                 URL: https://issues.apache.org/jira/browse/FLINK-20324
>             Project: Flink
>          Issue Type: New Feature
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.11.2
>         Environment: Kubernetes
>            Reporter: Boris Lublinsky
>            Priority: Major
>             Fix For: 1.12.0, 1.11.2
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> A common requirement for Flink applications is usage of custom resources 
> (Environment variables, PVCs, Secrets, configMaps, etc). For example, usage 
> of NFS-based checkpointing, require mounting NFS volumes, access to databases 
> might require environment variables and secrets, the ability to safely remove 
> cluster manager deployment might require owner's reference, etc.
> All of these resources can be added to created pods using Pod decorators 
> already defined by Flink. So implementation of such support is as simple as 
> implementing of new decorators and wiring them correctly to the appropriate 
> factories.
>  
> An implementation of such support is provided in this pull request 
> [https://github.com/apache/flink/pull/14005]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to