From fc77c5823d24b676a5ea704c1e57b05a6f2e7e1d Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Fri, 1 Nov 2024 02:31:52 -0300 Subject: [PATCH] feat(bot): :bug: Update storage class to use microk8s-hostpath. --- k8s/bot.yml | 1 + k8s/citus.yml | 2 +- k8s/storage.yml | 5 ----- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 k8s/storage.yml diff --git a/k8s/bot.yml b/k8s/bot.yml index 09ec3e2..bcfe01b 100644 --- a/k8s/bot.yml +++ b/k8s/bot.yml @@ -48,6 +48,7 @@ spec: spec: accessModes: - ReadWriteOnce # Ensures only one node can mount the volume at a time + storageClassName: microk8s-hostpath resources: requests: storage: 1Gi # Defines the storage size diff --git a/k8s/citus.yml b/k8s/citus.yml index 79bea27..6260daf 100644 --- a/k8s/citus.yml +++ b/k8s/citus.yml @@ -61,7 +61,7 @@ spec: name: citus-storage spec: accessModes: [ "ReadWriteOnce" ] - storageClassName: "standard" # Update based on your storage class + storageClassName: "microk8s-hostpath" # Update based on your storage class resources: requests: storage: 20Gi # Size for each pod's storage diff --git a/k8s/storage.yml b/k8s/storage.yml deleted file mode 100644 index 0589ddc..0000000 --- a/k8s/storage.yml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: StorageClass -metadata: - name: standard -provisioner: kubernetes.io/no-provisioner