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/14 18:05:00 UTC

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

Xin Hao created FLINK-27254:
-------------------------------

             Summary: 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


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)