aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-09-02 09:34:11 -0400
committerXe Iaso <me@xeiaso.net>2024-09-02 09:34:11 -0400
commit2c9d5faa2fc59917c6c62af727dfebc6207d501a (patch)
tree040735ac3456d8b13679210f23a3e1595738ceb7
parentd8367478b94af4492f41bee1c071a9a53e1e9700 (diff)
downloadx-2c9d5faa2fc59917c6c62af727dfebc6207d501a.tar.xz
x-2c9d5faa2fc59917c6c62af727dfebc6207d501a.zip
kube/alrest: add top-level kustomization
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--kube/alrest/kustomization.yaml6
-rw-r--r--kube/alrest/pvfm/aura/1password.yaml8
-rw-r--r--kube/alrest/pvfm/aura/kustomization.yaml5
-rw-r--r--kube/alrest/pvfm/aura/pvc.yaml55
-rw-r--r--kube/alrest/pvfm/kustomization.yaml5
-rw-r--r--kube/alrest/pvfm/namespace.yaml4
6 files changed, 83 insertions, 0 deletions
diff --git a/kube/alrest/kustomization.yaml b/kube/alrest/kustomization.yaml
new file mode 100644
index 0000000..c22f3af
--- /dev/null
+++ b/kube/alrest/kustomization.yaml
@@ -0,0 +1,6 @@
+resources:
+ - core
+ - ollama
+ - pvfm
+ - vms
+ - x \ No newline at end of file
diff --git a/kube/alrest/pvfm/aura/1password.yaml b/kube/alrest/pvfm/aura/1password.yaml
new file mode 100644
index 0000000..6227a24
--- /dev/null
+++ b/kube/alrest/pvfm/aura/1password.yaml
@@ -0,0 +1,8 @@
+apiVersion: onepassword.com/v1
+kind: OnePasswordItem
+metadata:
+ name: aura
+ labels:
+ app.kubernetes.io/name: aura
+spec:
+ itemPath: "vaults/Kubernetes/items/Aura PVFM" \ No newline at end of file
diff --git a/kube/alrest/pvfm/aura/kustomization.yaml b/kube/alrest/pvfm/aura/kustomization.yaml
new file mode 100644
index 0000000..2c7bf0d
--- /dev/null
+++ b/kube/alrest/pvfm/aura/kustomization.yaml
@@ -0,0 +1,5 @@
+namespace: pvfm
+resources:
+ - 1password.yaml
+ #- deployment.yaml
+ - pvc.yaml \ No newline at end of file
diff --git a/kube/alrest/pvfm/aura/pvc.yaml b/kube/alrest/pvfm/aura/pvc.yaml
new file mode 100644
index 0000000..3210beb
--- /dev/null
+++ b/kube/alrest/pvfm/aura/pvc.yaml
@@ -0,0 +1,55 @@
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: aura-recordings
+spec:
+ storageClassName: tigris
+ capacity:
+ storage: 10Ti
+ accessModes:
+ - ReadWriteMany
+ claimRef:
+ namespace: pvfm
+ name: aura-recordings
+ csi:
+ driver: ru.yandex.s3.csi
+ controllerPublishSecretRef:
+ name: csi-s3-secret
+ namespace: csi-s3
+ nodePublishSecretRef:
+ name: csi-s3-secret
+ namespace: csi-s3
+ nodeStageSecretRef:
+ name: csi-s3-secret
+ namespace: csi-s3
+ volumeAttributes:
+ capacity: 10Ti
+ mounter: geesefs
+ options: --memory-limit 1000 --dir-mode 0777 --file-mode 0666
+ volumeHandle: pvfm
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: aura-recordings
+spec:
+ storageClassName: tigris
+ resources:
+ requests:
+ storage: 10Ti
+ volumeMode: Filesystem
+ accessModes:
+ - ReadWriteMany
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: aura-recordings-nas
+spec:
+ storageClassName: itsuki
+ resources:
+ requests:
+ storage: 1Ti
+ volumeMode: Filesystem
+ accessModes:
+ - ReadWriteMany \ No newline at end of file
diff --git a/kube/alrest/pvfm/kustomization.yaml b/kube/alrest/pvfm/kustomization.yaml
new file mode 100644
index 0000000..c3199f2
--- /dev/null
+++ b/kube/alrest/pvfm/kustomization.yaml
@@ -0,0 +1,5 @@
+namespace: pvfm
+resources:
+ - aerial/
+ - aura/
+ - namespace.yaml \ No newline at end of file
diff --git a/kube/alrest/pvfm/namespace.yaml b/kube/alrest/pvfm/namespace.yaml
new file mode 100644
index 0000000..b540398
--- /dev/null
+++ b/kube/alrest/pvfm/namespace.yaml
@@ -0,0 +1,4 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: pvfm \ No newline at end of file