Compare commits
2 commits
278f8d50b3
...
e13bbe8862
Author | SHA1 | Date | |
---|---|---|---|
e13bbe8862 | |||
b5db860404 |
4 changed files with 17 additions and 20 deletions
|
@ -28,7 +28,7 @@ spec:
|
||||||
type: cronjob
|
type: cronjob
|
||||||
cronjob:
|
cronjob:
|
||||||
schedule: "@weekly"
|
schedule: "@weekly"
|
||||||
parallelism: 6 # Set to my total number of nodes
|
parallelism: 1 # Set to my total number of nodes
|
||||||
containers:
|
containers:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
|
@ -74,4 +74,4 @@ spec:
|
||||||
hostPathType: Directory
|
hostPathType: Directory
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /host/net
|
- path: /host/net
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
|
@ -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:
|
||||||
resources:
|
- ReadWriteOnce
|
||||||
requests:
|
resources:
|
||||||
storage: 80Gi
|
requests:
|
||||||
storageClassName: "openebs-zfs"
|
storage: 80Gi
|
||||||
accessModes:
|
storageClassName: openebs-zfs
|
||||||
- "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