generated from phoenix-oss/tenant-tpl
Compare commits
1 commit
36ecc280d0
...
c0ee377b21
Author | SHA1 | Date | |
---|---|---|---|
c0ee377b21 |
3 changed files with 14 additions and 40 deletions
|
@ -3,8 +3,6 @@ kind: VirtualMachine
|
||||||
metadata:
|
metadata:
|
||||||
name: fortigate-s3
|
name: fortigate-s3
|
||||||
namespace: ${TENANT_NAMESPACE}
|
namespace: ${TENANT_NAMESPACE}
|
||||||
annotations:
|
|
||||||
#kubevirt.io/allow-pod-bridge-network-live-migration:
|
|
||||||
spec:
|
spec:
|
||||||
dataVolumeTemplates:
|
dataVolumeTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
|
@ -36,18 +34,21 @@ spec:
|
||||||
firmware:
|
firmware:
|
||||||
bootloader:
|
bootloader:
|
||||||
efi:
|
efi:
|
||||||
secureBoot: false
|
secureBoot: true
|
||||||
devices:
|
devices:
|
||||||
rng: {}
|
rng: {}
|
||||||
networkInterfaceMultiqueue: true
|
networkInterfaceMultiqueue: true
|
||||||
interfaces:
|
interfaces:
|
||||||
- name: external
|
- name: internal
|
||||||
masquerade: {}
|
masquerade: {}
|
||||||
ports:
|
ports:
|
||||||
- port: 4500
|
|
||||||
- port: 443
|
|
||||||
- port: 22
|
|
||||||
- port: 500
|
- port: 500
|
||||||
|
- port: 4500
|
||||||
|
#- name: external
|
||||||
|
# masquerade: {}
|
||||||
|
# ports:
|
||||||
|
# - port: 500
|
||||||
|
# - port: 4500
|
||||||
disks:
|
disks:
|
||||||
- disk:
|
- disk:
|
||||||
bus: sata
|
bus: sata
|
||||||
|
@ -60,7 +61,9 @@ spec:
|
||||||
memory: 4Gi
|
memory: 4Gi
|
||||||
cpu: 2
|
cpu: 2
|
||||||
networks:
|
networks:
|
||||||
- name: external
|
#- name: external
|
||||||
|
# pod: {}
|
||||||
|
- name: internal
|
||||||
pod: {}
|
pod: {}
|
||||||
terminationGracePeriodSeconds: 180
|
terminationGracePeriodSeconds: 180
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: &app lb
|
name: &app windows-lb
|
||||||
namespace: ${TENANT_NAMESPACE}
|
namespace: ${TENANT_NAMESPACE}
|
||||||
spec:
|
spec:
|
||||||
commonMetadata:
|
commonMetadata:
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: fortigate-lb
|
|
||||||
namespace: ${TENANT_NAMESPACE}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: fortigate-lb
|
|
||||||
spec:
|
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
|
||||||
- port: 4500
|
|
||||||
name: ipsec-nat
|
|
||||||
targetPort: 4500
|
|
||||||
protocol: UDP
|
|
||||||
- port: 500
|
|
||||||
name: key-management
|
|
||||||
targetPort: 500
|
|
||||||
protocol: UDP
|
|
||||||
- port: 22
|
|
||||||
name: ssh
|
|
||||||
targetPort: 22
|
|
||||||
protocol: TCP
|
|
||||||
- port: 443
|
|
||||||
name: https
|
|
||||||
targetPort: 443
|
|
||||||
protocol: TCP
|
|
||||||
selector:
|
|
||||||
kubevirt.io/domain: fortigate-s3
|
|
Loading…
Add table
Add a link
Reference in a new issue