Resource usage instructions of K8s PVC
The support for pvc resource(mount file resources such as checkpoint/savepoint/logs and so on) is based on pod-template at current version。
Users do not have to concern the Native-Kubernetes Session.It will be processed when Session Cluster is constructed .Native-Kubernetes Application can be constructed by configuring on StreamPark webpage using pod-template、jm-pod-template、tm-pod-template.
Here is a brief example. Two PVC flink-checkpoint, flink-savepoint should be constructed in advance

‘pod-template’ can be configured as below :
apiVersion: v1kind: Podmetadata:name: pod-templatespec:containers:- name: flink-main-containervolumeMounts:- name: checkpoint-pvcmountPath: /opt/flink/checkpoints- name: savepoint-pvcmountPath: /opt/flink/savepointsvolumes:- name: checkpoint-pvcpersistentVolumeClaim:claimName: flink-checkpoint- name: savepoint-pvcpersistentVolumeClaim:claimName: flink-savepoint
There are three ways to provide the dependency when using rocksdb-backend.
Flink Base Docker Image contains the dependency(user fix the dependency conflict by themself);
Put the dependency
flink-statebackend-rocksdb_xx.jarto the pathWorkspace/jarsin StreamPark ;Add the rockdb-backend dependency to StreamPark Dependency(StreamPark will fix the conflict automatically) :

We will provide a graceful way to generate pod-template configuration to simplify the procedure of k8s-pvc mounting in future version.
