-
Notifications
You must be signed in to change notification settings - Fork 13
/
Windows10_create.yaml
262 lines (262 loc) · 8.25 KB
/
Windows10_create.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
annotations:
kubemacpool.io/transaction-timestamp: '2024-03-31T16:36:33.206052438Z'
vm.kubevirt.io/validations: |
[
{
"name": "minimal-required-memory",
"path": "jsonpath::.spec.domain.resources.requests.memory",
"rule": "integer",
"message": "This VM requires more memory.",
"min": 2147483648
}, {
"name": "windows-virtio-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "virtio disk bus type has better performance, install virtio drivers in VM and change bus type",
"values": ["virtio"],
"justWarning": true
}, {
"name": "windows-disk-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata or scsi",
"values": ["virtio", "sata", "scsi"]
}, {
"name": "windows-cd-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",
"rule": "enum",
"message": "cd bus has to be sata",
"values": ["sata"]
}
]
creationTimestamp: '2024-03-31T16:36:33Z'
generation: 1
labels:
app: win10-famous-pinniped
vm.kubevirt.io/template: windows10-desktop-medium
vm.kubevirt.io/template.namespace: openshift
vm.kubevirt.io/template.revision: '1'
vm.kubevirt.io/template.version: v0.25.0
managedFields:
- apiVersion: kubevirt.io/v1
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
.: {}
'f:vm.kubevirt.io/validations': {}
'f:labels':
.: {}
'f:app': {}
'f:vm.kubevirt.io/template': {}
'f:vm.kubevirt.io/template.namespace': {}
'f:vm.kubevirt.io/template.revision': {}
'f:vm.kubevirt.io/template.version': {}
'f:spec':
.: {}
'f:dataVolumeTemplates': {}
'f:running': {}
'f:template':
.: {}
'f:metadata':
.: {}
'f:annotations':
.: {}
'f:vm.kubevirt.io/flavor': {}
'f:vm.kubevirt.io/os': {}
'f:vm.kubevirt.io/workload': {}
'f:labels':
.: {}
'f:kubevirt.io/domain': {}
'f:kubevirt.io/size': {}
'f:spec':
.: {}
'f:domain':
.: {}
'f:clock':
.: {}
'f:timer':
.: {}
'f:hpet':
.: {}
'f:present': {}
'f:hyperv': {}
'f:pit':
.: {}
'f:tickPolicy': {}
'f:rtc':
.: {}
'f:tickPolicy': {}
'f:utc': {}
'f:cpu':
.: {}
'f:cores': {}
'f:sockets': {}
'f:threads': {}
'f:devices':
.: {}
'f:disks': {}
'f:inputs': {}
'f:interfaces': {}
'f:features':
.: {}
'f:acpi': {}
'f:apic': {}
'f:hyperv':
.: {}
'f:frequencies': {}
'f:ipi': {}
'f:reenlightenment': {}
'f:relaxed': {}
'f:reset': {}
'f:runtime': {}
'f:spinlocks':
.: {}
'f:spinlocks': {}
'f:synic': {}
'f:synictimer':
.: {}
'f:direct': {}
'f:tlbflush': {}
'f:vapic': {}
'f:vpindex': {}
'f:machine':
.: {}
'f:type': {}
'f:resources':
.: {}
'f:requests':
.: {}
'f:memory': {}
'f:evictionStrategy': {}
'f:networks': {}
'f:terminationGracePeriodSeconds': {}
'f:volumes': {}
manager: kubectl-create
operation: Update
time: '2024-03-31T16:36:33Z'
name: win10-famous-pinniped
namespace: linuxvm
uid: bf4799e7-e781-4ede-981a-23884b9b7133
spec:
dataVolumeTemplates:
- apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
annotations:
cdi.kubevirt.io/storage.bind.immediate.requested: 'true'
creationTimestamp: null
name: win10-famous-pinniped
spec:
source:
blank: {}
storage:
resources:
requests:
storage: 60Gi
- metadata:
creationTimestamp: null
name: win10-famous-pinniped-installation-cdrom
spec:
source:
http:
url: >-
https://software.download.prss.microsoft.com/dbazure/Win10_22H2_English_x64v1.iso?t=1182d063-b4cc-4e05-b23b-b0e360f24bef&P1=1711927623&P2=601&P3=2&P4=STgkkfcF8I2W9rpuFC0kO9LrUryOUY8rzB7LPCAya1YuUA56eKW205X624OD6uE%2fkSniKcF5esmiKlzkcEOCPaEz%2b4pEIq%2fONKP%2fzXS7%2bn7e8g%2bXgQmDsecmzWf29%2b%2b0aJNd2fDey2IOxG8o1LrKczfp8P5YlhiODB20CsoUuzkuMzVJNHcy3J7UDzR%2bmSaAM2wacQ11%2f4bD89%2fAnSMsm8yj5xZv3PrvmBrg%2fkPE1LzvSeQbbkLgc5KaOkCilnrbY%2b07UwRl1L3nN%2fMay9fhACdquTOrnlDWNMGkzAuxF9t2Yo1XV7%2bt596dISKNOQZ4xO2CU%2bvXg9Ppht3uWkcuaw%3d%3d
storage:
resources:
requests:
storage: 30Gi
running: false
template:
metadata:
annotations:
vm.kubevirt.io/flavor: medium
vm.kubevirt.io/os: windows10
vm.kubevirt.io/workload: desktop
creationTimestamp: null
labels:
kubevirt.io/domain: win10-famous-pinniped
kubevirt.io/size: medium
spec:
domain:
clock:
timer:
hpet:
present: false
hyperv: {}
pit:
tickPolicy: delay
rtc:
tickPolicy: catchup
utc: {}
cpu:
cores: 1
sockets: 1
threads: 1
devices:
disks:
- bootOrder: 2
disk:
bus: sata
name: rootdisk
- bootOrder: 1
cdrom:
bus: sata
name: installation-cdrom
- cdrom:
bus: sata
name: windows-drivers-disk
inputs:
- bus: usb
name: tablet
type: tablet
interfaces:
- macAddress: '02:c0:a9:00:00:01'
masquerade: {}
model: e1000e
name: default
features:
acpi: {}
apic: {}
hyperv:
frequencies: {}
ipi: {}
reenlightenment: {}
relaxed: {}
reset: {}
runtime: {}
spinlocks:
spinlocks: 8191
synic: {}
synictimer:
direct: {}
tlbflush: {}
vapic: {}
vpindex: {}
machine:
type: pc-q35-rhel9.2.0
resources:
requests:
memory: 4Gi
evictionStrategy: LiveMigrate
networks:
- name: default
pod: {}
terminationGracePeriodSeconds: 3600
volumes:
- dataVolume:
name: win10-famous-pinniped
name: rootdisk
- dataVolume:
name: win10-famous-pinniped-installation-cdrom
name: installation-cdrom
- containerDisk:
image: >-
registry.redhat.io/container-native-virtualization/virtio-win-rhel9@sha256:1226b8b5a1768e9a5d40a3a8d2446200664e266cb41912913e160c0058378aba
name: windows-drivers-disk