theshire/kubernetes/apps/kubevirt/vms/fj-runner-01.yaml

55 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-05-22 13:46:59 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/kubevirt.io/virtualmachine_v1.json
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: fj-runner-01
namespace: default
spec:
running: false
2024-05-22 13:46:59 -05:00
template:
spec:
architecture: amd64
domain:
clock:
timezone: "America/Chicago"
2024-05-22 13:46:59 -05:00
cpu:
cores: 4
sockets: 1
threads: 2
devices:
disks:
- disk:
2024-05-28 07:36:18 -05:00
bus: sata
2024-05-22 13:46:59 -05:00
name: disk1
- cdrom:
bus: sata
name: nixosiso
2024-05-22 13:46:59 -05:00
interfaces:
- bridge: {}
name: net1
networkInterfaceMultiqueue: true
firmware:
# this sets the bootloader type
bootloader:
efi:
secureBoot: false
2024-05-22 13:46:59 -05:00
machine:
type: q35
resources:
requests:
memory: 8Gi
networks:
- name: net1
pod: {}
nodeSelector:
kubernetes.io/hostname: shadowfax
2024-07-15 21:02:08 -05:00
# priorityClassName: vm-standard
2024-05-22 13:46:59 -05:00
volumes:
- name: disk1
persistentVolumeClaim:
claimName: fj-runner-01-disk1
2024-07-11 21:49:43 -05:00
- name: nixosiso
dataVolume:
name: "nixos-minimal"