From 9283e43240032768845f946a549394660896287e Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 15 Jul 2024 21:02:08 -0500 Subject: [PATCH] new storageclass for vm --- kubernetes/apps/kubevirt/vms/fj-runner-01-disk1.yaml | 2 +- kubernetes/apps/kubevirt/vms/fj-runner-01.yaml | 2 +- kubernetes/apps/kubevirt/vms/nixosdv.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kubernetes/apps/kubevirt/vms/fj-runner-01-disk1.yaml b/kubernetes/apps/kubevirt/vms/fj-runner-01-disk1.yaml index e673ca19..f5d29807 100644 --- a/kubernetes/apps/kubevirt/vms/fj-runner-01-disk1.yaml +++ b/kubernetes/apps/kubevirt/vms/fj-runner-01-disk1.yaml @@ -9,4 +9,4 @@ spec: resources: requests: storage: 160Gi - storageClassName: local-hostpath-nvme1 + storageClassName: "openebs-hostpath" diff --git a/kubernetes/apps/kubevirt/vms/fj-runner-01.yaml b/kubernetes/apps/kubevirt/vms/fj-runner-01.yaml index e05f3b26..a7e756cd 100644 --- a/kubernetes/apps/kubevirt/vms/fj-runner-01.yaml +++ b/kubernetes/apps/kubevirt/vms/fj-runner-01.yaml @@ -44,7 +44,7 @@ spec: pod: {} nodeSelector: kubernetes.io/hostname: shadowfax - priorityClassName: vm-standard + # priorityClassName: vm-standard volumes: - name: disk1 persistentVolumeClaim: diff --git a/kubernetes/apps/kubevirt/vms/nixosdv.yaml b/kubernetes/apps/kubevirt/vms/nixosdv.yaml index 33b9889b..820f20dc 100644 --- a/kubernetes/apps/kubevirt/vms/nixosdv.yaml +++ b/kubernetes/apps/kubevirt/vms/nixosdv.yaml @@ -9,9 +9,9 @@ spec: resources: requests: storage: 2Gi - storageClassName: "local-hostpath-nvme1" + storageClassName: "openebs-hostpath" accessModes: - - "ReadWriteMany" + - "ReadWriteOnce" source: http: url: "https://channels.nixos.org/nixos-24.05/latest-nixos-minimal-x86_64-linux.iso"