$ cat vm.yaml
kind: VirtualMachine
metadata:
name: barbar
spec:
state: down
#!/bin/sh | |
# POC to connect a libvirt VM to a Pod NIC created by CNI | |
# Resources: | |
# - rancher-vm networking https://github.com/rancher/vm/blob/master/docs/networking.md | |
# - qemu-ifup https://gist.github.com/Wayt/26d25002d00d7cb4348499a145456999 | |
# - cni https://github.com/containernetworking/cni/blob/master/scripts/exec-plugins.sh | |
# yum install -y macchanger |
apiVersioin: v1 | |
kind: Pod | |
metadata: | |
name: qemu | |
spec: | |
securityContext: | |
runAsUser: 0 | |
volumes: | |
- name: host-dev | |
hostPath: |
[fabiand@tee Downloads]$ k logs v2v-4d9b8 | |
+ echo /v2v-dst ova http://192.168.42.1:8000/my.ova '' | |
+ DSTD=/v2v-dst | |
/v2v-dst ova http://192.168.42.1:8000/my.ova | |
+ SRCTYPE=ova | |
+ SRC=http://192.168.42.1:8000/my.ova | |
+ SRCURI= | |
++++ readlink -f /v2v.d/bin/job | |
+++ dirname /v2v.d/bin/job | |
++ readlink -f /v2v.d/bin/.. |
Assumption:
Goal:
## Another shot at the problem scope | |
Devices to support | |
- GPUs | |
- FPGAs | |
- Network cards | |
- Random Number Generators |
Pod VM VM VM | |
| | | | |
| | | | |
| +-----+ | | |
---------+-+--------------+-------------- | |
| | | | |
br0 br1 br2 | |
| | | | |
DP vlan0 vlan1 vlan2 |
A VM is defined by three aspects