change port and add lb

This commit is contained in:
maximilian.bartz 2025-07-09 12:00:51 +02:00
parent 4cf5bfcceb
commit 410cb99173
3 changed files with 36 additions and 16 deletions

View file

@ -3,6 +3,8 @@ kind: VirtualMachine
metadata:
name: fortigate-s3
namespace: ${TENANT_NAMESPACE}
annotations:
#kubevirt.io/allow-pod-bridge-network-live-migration:
spec:
dataVolumeTemplates:
- metadata:
@ -29,26 +31,17 @@ spec:
guest: 4Gi
features:
acpi: {}
smm:
smm:
enabled: true
firmware:
bootloader:
efi:
secureBoot: true
devices:
rng: {}
networkInterfaceMultiqueue: true
interfaces:
- name: internal
masquerade: {}
ports:
- port: 500
- port: 4500
#- name: external
# masquerade: {}
# ports:
# - port: 500
# - port: 4500
- name: external
bridge: {}
disks:
- disk:
bus: sata
@ -61,9 +54,7 @@ spec:
memory: 4Gi
cpu: 2
networks:
#- name: external
# pod: {}
- name: internal
- name: external
pod: {}
terminationGracePeriodSeconds: 180
volumes: