-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathfedora.yaml
More file actions
69 lines (69 loc) · 1.59 KB
/
fedora.yaml
File metadata and controls
69 lines (69 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: example
annotations:
description: VM example
labels:
app: example
os.template.kubevirt.io/fedora36: 'true'
namespace: linuxvm
spec:
running: false
template:
metadata:
annotations:
vm.kubevirt.io/flavor: small
vm.kubevirt.io/os: fedora36
vm.kubevirt.io/workload: server
labels:
kubevirt.io/domain: example
kubevirt.io/size: small
spec:
domain:
cpu:
cores: 1
sockets: 1
threads: 1
devices:
disks:
- disk:
bus: virtio
name: rootdisk
- disk:
bus: virtio
name: cloudinitdisk
interfaces:
- masquerade: {}
model: virtio
name: default
networkInterfaceMultiqueue: true
rng: {}
features:
acpi: {}
smm:
enabled: true
firmware:
bootloader:
efi: {}
machine:
type: q35
resources:
requests:
memory: 2Gi
hostname: example
networks:
- name: default
pod: {}
terminationGracePeriodSeconds: 180
volumes:
- name: rootdisk
containerDisk:
image: 'quay.io/containerdisks/fedora:36'
- cloudInitNoCloud:
userData: |-
#cloud-config
user: fedora
password: fedora
chpasswd: { expire: False }
name: cloudinitdisk