update vms
This commit is contained in:
parent
b5db860404
commit
e13bbe8862
3 changed files with 15 additions and 18 deletions
|
@ -20,7 +20,7 @@ spec:
|
||||||
devices:
|
devices:
|
||||||
disks:
|
disks:
|
||||||
- disk:
|
- disk:
|
||||||
bus: virtio
|
bus: sata
|
||||||
name: disk1
|
name: disk1
|
||||||
- cdrom:
|
- cdrom:
|
||||||
bus: sata
|
bus: sata
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
# yaml-language-server: $schema=https://ks.hsn.dev/cdi.kubevirt.io/datavolume_v1beta1.json
|
---
|
||||||
apiVersion: cdi.kubevirt.io/v1beta1
|
apiVersion: v1
|
||||||
kind: DataVolume
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: "fj-runner-02-disk1"
|
name: fj-runner-02-disk1
|
||||||
spec:
|
spec:
|
||||||
storage:
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 80Gi
|
storage: 80Gi
|
||||||
storageClassName: "openebs-zfs"
|
storageClassName: openebs-zfs
|
||||||
accessModes:
|
|
||||||
- "ReadWriteOnce"
|
|
||||||
source:
|
|
||||||
blank: {}
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
devices:
|
devices:
|
||||||
disks:
|
disks:
|
||||||
- disk:
|
- disk:
|
||||||
bus: virtio
|
bus: sata
|
||||||
name: disk1
|
name: disk1
|
||||||
- cdrom:
|
- cdrom:
|
||||||
bus: sata
|
bus: sata
|
||||||
|
@ -46,9 +46,9 @@ spec:
|
||||||
kubernetes.io/hostname: shadowfax
|
kubernetes.io/hostname: shadowfax
|
||||||
priorityClassName: vm-standard
|
priorityClassName: vm-standard
|
||||||
volumes:
|
volumes:
|
||||||
- dataVolume:
|
- name: disk1
|
||||||
name: fj-runner-02-disk1
|
persistentVolumeClaim:
|
||||||
name: disk1
|
claimName: fj-runner-02-disk1
|
||||||
- dataVolume:
|
- dataVolume:
|
||||||
name: "nixos-minimal"
|
name: "nixos-minimal"
|
||||||
name: nixosiso
|
name: nixosiso
|
||||||
|
|
Loading…
Reference in a new issue