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

[jira] [Comment Edited] (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=17522697#comment-17522697 ] 

Xin Hao edited comment on FLINK-27254 at 4/15/22 7:11 AM:
----------------------------------------------------------

*not to a running pod dynamically.*

We only create the volume and mount when creating the pod.

Sorry for not explaining clearly, I mean different volumes for different SessionJobs so I can't do this in the FlinkDeployment's PodTemplate


was (Author: JIRAUSER286449):
*not to a running pod dynamically.*

We only create the volume and mount when creating the pod.

 

Sorry for not explaining clearly, I mean different volumes for different SessionJob so that cant do this in the FlinkDeployment's PodTemplate

> 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)