about summary refs log tree commit diff
path: root/tools/monitoring
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 20:20:11 +0200
committermakefunstuff <[email protected]>2024-06-28 20:20:11 +0200
commitd96e7bb5954850ff7ddafb8cb3fa1a24921ab20e (patch)
tree86a35095ca1d310433213e0c37e11ae6c560a25f /tools/monitoring
parent0347609221396fd44791ef2f5f17aa93854ebcdc (diff)
downloadk3s-lab-d96e7bb5954850ff7ddafb8cb3fa1a24921ab20e.tar.gz
pvc
Diffstat (limited to 'tools/monitoring')
-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
+