Add qxl and spice device to cluster/vm.json
Don't assign an address and a port to the spice device. This will be
done by kubevirt to make sure that we can reach the VM via the Pod IP.
"apiVersion": "kubevirt.io/v1alpha1",
"kind": "VM",
"spec": {
- "nodeSelector": {"kubernetes.io/hostname":"master"},
+ "nodeSelector": {
+ "kubernetes.io/hostname": "master"
+ },
"domain": {
"devices": {
"interfaces": [
},
"type": "network"
}
+ ],
+ "video": [
+ {
+ "model": {
+ "type": "qxl",
+ "heads": 1,
+ "ram": 65536,
+ "vgamem": 16384,
+ "vram": 8192
+ }
+ }
+ ],
+ "graphics": [
+ {
+ "autoPort": "yes",
+ "defaultMode": "any",
+ "type": "spice"
+ }
]
},
"memory": {
