You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2022/04/15 06:54:00 UTC

[jira] [Commented] (FLINK-27254) Add Volume and VolumeMount supports for FlinkSessionJob

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

Yang Wang commented on FLINK-27254:
-----------------------------------

I am not sure how could we mount a volume to a running pod dynamically.

> Add Volume and VolumeMount supports for FlinkSessionJob
> -------------------------------------------------------
>
>                 Key: FLINK-27254
>                 URL: https://issues.apache.org/jira/browse/FLINK-27254
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: Xin Hao
>            Priority: Minor
>
> We should add Volume and VolumeMount supports for the FlinkSessionJob CRD
> The reasons why not do this by PodTemplate are:
> 1. If I only want to mount a volume for the session job, PodTemplate is a bit complex
> 2. The volume and mount are dynamic for different session jobs in my scenarios
> The draft CRD will look like
> {code:java}
> apiVersion: flink.apache.org/v1beta1
> kind: FlinkSessionJob
> ...
> spec:
>   ...
>   job:
>     ...
>   volumes:
>     ...
>   volumeMounts:
>     ...{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)