mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2024-11-27 05:33:10 +08:00
68 lines
1.2 KiB
YAML
Executable File
68 lines
1.2 KiB
YAML
Executable File
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: service-kubeflow-user-workspace
|
|
labels:
|
|
service-pvname: service-kubeflow-user-workspace
|
|
spec:
|
|
# storageClassName: pipeline
|
|
capacity:
|
|
storage: 500Gi
|
|
accessModes:
|
|
- ReadWriteMany
|
|
hostPath:
|
|
path: /data/k8s/kubeflow/pipeline/workspace
|
|
persistentVolumeReclaimPolicy: Retain
|
|
---
|
|
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: kubeflow-user-workspace
|
|
namespace: service
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 500Gi
|
|
selector:
|
|
matchLabels:
|
|
service-pvname: service-kubeflow-user-workspace
|
|
|
|
|
|
# 模型归档
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: service-kubeflow-archives
|
|
labels:
|
|
service-pvname: service-kubeflow-archives
|
|
spec:
|
|
capacity:
|
|
storage: 500Gi
|
|
accessModes:
|
|
- ReadWriteMany
|
|
hostPath:
|
|
path: /data/k8s/kubeflow/pipeline/archives
|
|
persistentVolumeReclaimPolicy: Retain
|
|
---
|
|
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: kubeflow-archives
|
|
namespace: service
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 500Gi
|
|
selector:
|
|
matchLabels:
|
|
service-pvname: service-kubeflow-archives
|
|
|
|
|