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