-
Notifications
You must be signed in to change notification settings - Fork 30
/
vms.yaml
97 lines (97 loc) · 2.46 KB
/
vms.yaml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
apiVersion: proxmox.xfix.org/v1alpha1
kind: Qemu
metadata:
name: sidero-master-1
finalizers:
- resources-finalizer.proxmox-operator.xfix.org
spec:
cluster: cluster-1
#node: crash-lab ### If not set it will set automaticly from "pool"
#vmid: 222 ### If not set it will set automaticly
pool: prod ### Cluster pool for place VM
anti-affinity: "" ### The anti-affinity group. VM's with same anti-affinity group will be placed on different nodes
autostart: true
autostop: true
cpu:
type: host
sockets: 2
cores: 1
memory:
size: 2048
balloon: 2048
network:
net0:
model: virtio
#mac: A2:7B:45:48:9C:E6 ### If not set it will set automaticly
bridge: vmbr0
tag: 0 # set to 0 if tag not needed
disk:
scsi0:
storage: local-lvm
size: 9G
tags:
- sidero
- cluster-0
options:
ostype: "l26"
bios: "seabios"
smbios1: "uuid=f0ac3f32-ee63-11ed-a05b-0242ac120003,manufacturer=MTIz,product=MTIz,version=MTIz,serial=MTIz,sku=MTIz,family=MTIz,base64=1"
scsihw: "virtio-scsi-pci"
boot: "order=net0;ide2;scsi0"
ide2: "none,media=cdrom"
hotplug: "network,disk,usb"
tablet: 1
onboot: 0
kvm: 1
agent: "0"
numa: 1
protection: 0
---
apiVersion: proxmox.xfix.org/v1alpha1
kind: Qemu
metadata:
name: sidero-worker-1
finalizers:
- resources-finalizer.proxmox-operator.xfix.org
spec:
cluster: cluster-1
#node: crash-lab ### If not set it will set automaticly from "pool"
#vmid: 222 ### If not set it will set automaticly
pool: prod ### Cluster pool for place VM
anti-affinity: "" ### The anti-affinity group. VM's with same anti-affinity group will be placed on different nodes
autostart: true
autostop: true
cpu:
type: host
sockets: 2
cores: 1
memory:
size: 2048
balloon: 2048
network:
net0:
model: virtio
#mac: A2:7B:45:48:9C:E6 ### If not set it will set automaticly
bridge: vmbr0
tag: 0 # set to 0 if tag not needed
disk:
scsi0:
storage: local-lvm
size: 9G
tags:
- sidero
- cluster-0
options:
ostype: "l26"
bios: "seabios"
smbios1: "uuid=fe4fadea-ee63-11ed-a05b-0242ac120003,manufacturer=MTIz,product=MTIz,version=MTIz,serial=MTIz,sku=MTIz,family=MTIz,base64=1"
scsihw: "virtio-scsi-pci"
boot: "order=net0;ide2;scsi0"
ide2: "none,media=cdrom"
hotplug: "network,disk,usb"
tablet: 1
onboot: 0
kvm: 1
agent: "0"
numa: 1
protection: 0