++masq
This commit is contained in:
parent
2e7caff6d6
commit
3dcec34033
1 changed files with 40 additions and 0 deletions
40
kubevirt/vm4-masquerade.yaml
Normal file
40
kubevirt/vm4-masquerade.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
apiVersion: kubevirt.io/v1alpha3
|
||||
kind: VirtualMachineInstance
|
||||
metadata:
|
||||
name: testvmi-nocloud
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
domain:
|
||||
resources:
|
||||
requests:
|
||||
memory: 1024M
|
||||
devices:
|
||||
disks:
|
||||
- name: containerdisk
|
||||
disk:
|
||||
bus: virtio
|
||||
- name: emptydisk
|
||||
disk:
|
||||
bus: virtio
|
||||
- disk:
|
||||
bus: virtio
|
||||
name: cloudinitdisk
|
||||
interfaces:
|
||||
- masquerade: {}
|
||||
name: default
|
||||
networks:
|
||||
- name: default
|
||||
pod: {}
|
||||
volumes:
|
||||
- name: containerdisk
|
||||
containerDisk:
|
||||
image: kubevirt/fedora-cloud-container-disk-demo:latest
|
||||
- name: emptydisk
|
||||
emptyDisk:
|
||||
capacity: "2Gi"
|
||||
- name: cloudinitdisk
|
||||
cloudInitNoCloud:
|
||||
userData: |-
|
||||
#cloud-config
|
||||
password: fedora
|
||||
chpasswd: { expire: False }
|
Loading…
Reference in a new issue