add VM which should have IPv6
This commit is contained in:
parent
1e83e09fa9
commit
c8548503e6
1 changed files with 43 additions and 0 deletions
43
kubevirt/vm-ipv6.yaml
Normal file
43
kubevirt/vm-ipv6.yaml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
apiVersion: kubevirt.io/v1alpha3
|
||||||
|
kind: VirtualMachine
|
||||||
|
metadata:
|
||||||
|
name: testvm-v6
|
||||||
|
spec:
|
||||||
|
running: false
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubevirt.io/size: small
|
||||||
|
kubevirt.io/domain: testvm
|
||||||
|
spec:
|
||||||
|
domain:
|
||||||
|
devices:
|
||||||
|
disks:
|
||||||
|
- disk:
|
||||||
|
bus: virtio
|
||||||
|
name: rootfs
|
||||||
|
- disk:
|
||||||
|
bus: virtio
|
||||||
|
name: cloudinit
|
||||||
|
interfaces:
|
||||||
|
- name: default
|
||||||
|
masquerade: {}
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 64M
|
||||||
|
networks:
|
||||||
|
- name: default
|
||||||
|
pod: {}
|
||||||
|
volumes:
|
||||||
|
- name: rootfs
|
||||||
|
containerDisk:
|
||||||
|
image: kubevirt/cirros-registry-disk-demo
|
||||||
|
- name: cloudinit
|
||||||
|
cloudInitNoCloud:
|
||||||
|
userDataBase64: SGkuXG4=
|
||||||
|
networkData: |
|
||||||
|
version: 2
|
||||||
|
ethernets:
|
||||||
|
eth0:
|
||||||
|
addresses: [ fd10:0:2::2/120 ]
|
||||||
|
gateway6: fd10:0:2::1
|
Loading…
Reference in a new issue