about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tools/monitoring/templates/pvc.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/monitoring/templates/pvc.yaml b/tools/monitoring/templates/pvc.yaml
new file mode 100644
index 0000000..ddf7aa7
--- /dev/null
+++ b/tools/monitoring/templates/pvc.yaml
@@ -0,0 +1,32 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: elasticsearch-master
+  labels:
+    app: elasticsearch
+    role: master
+spec:
+  accessModes:
+    - ReadWriteOnce
+  resources:
+    requests:
+      storage: 30Gi
+  storageClassName: standard 
+
+---
+
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: elasticsearch-data
+  labels:
+    app: elasticsearch
+    role: data
+spec:
+  accessModes:
+    - ReadWriteOnce
+  resources:
+    requests:
+      storage: 30Gi
+  storageClassName: standard
+