-
Notifications
You must be signed in to change notification settings - Fork 0
/
volumes.yaml
57 lines (57 loc) · 1.06 KB
/
volumes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
kind: PersistentVolume
apiVersion: v1
metadata:
name: airflow-local
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 2Gi
hostPath:
path: /opt/airflow/mounted-from-host/
storageClassName: airflow-storageclass
claimRef:
name: airflow-home
namespace: airflow
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: airflow-home
namespace: airflow
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 2Gi
storageClassName: airflow-storageclass
# ---
# kind: PersistentVolume
# apiVersion: v1
# metadata:
# name: airflow-log
# spec:
# accessModes:
# - ReadWriteOnce
# capacity:
# storage: 2Gi
# hostPath:
# path: /opt/airflow/logs/
# storageClassName: airflow-storageclass
# claimRef:
# name: airflow-log
# namespace: airflow
# ---
# kind: PersistentVolumeClaim
# apiVersion: v1
# metadata:
# name: airflow-log
# namespace: airflow
# spec:
# accessModes:
# - ReadWriteOnce
# resources:
# requests:
# storage: 2Gi
# storageClassName: airflow-storageclass