new test of fortigate for KSD

This commit is contained in:
maximilian.bartz 2025-07-22 10:47:20 +02:00
parent 9980d50b07
commit f76153ff5d
10 changed files with 97 additions and 195 deletions

View file

@ -0,0 +1,77 @@
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: fortigate-ksd
namespace: ${TENANT_NAMESPACE}
spec:
dataVolumeTemplates:
- metadata:
name: fortigate-rootdisk-ksd
spec:
source:
http:
url: "https://glacier-1.kvant.cloud/ocp-virt-images/sources/fortios_7_6_3.qcow2"
#secretRef: s3-virt-credentials
storage:
resources:
requests:
storage: 30Gi
runStrategy: Always
template:
metadata:
labels:
kubevirt.io/domain: fortigate-ksd
spec:
domain:
cpu:
cores: 1
memory:
guest: 2Gi
features:
acpi: {}
smm:
enabled: true
firmware:
bootloader:
efi:
secureBoot: false
devices:
rng: {}
networkInterfaceMultiqueue: true
interfaces:
- name: wan
masquerade: {}
ports:
- port: 4500
- port: 443
- port: 22
- port: 500
- name: mgmt
bridge: {}
- name: lan
bridge: {}
disks:
- disk:
bus: sata
name: rootdisk
resources:
requests:
memory: 2Gi
cpu: 1
limits:
memory: 2Gi
cpu: 1
networks:
- name: wan
pod: {}
- name: mgmt
multus:
networkName: ${TENANT_NAMESPACE}/mgmt-net
- name: lan
multus:
networkName: ${TENANT_NAMESPACE}/lan-net
terminationGracePeriodSeconds: 180
volumes:
- name: rootdisk
dataVolume:
name: fortigate-rootdisk-ksd