generated from phoenix-oss/tenant-tpl
change port and add lb
This commit is contained in:
parent
4cf5bfcceb
commit
410cb99173
3 changed files with 36 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app windows-lb
|
||||
name: &app lb
|
||||
namespace: ${TENANT_NAMESPACE}
|
||||
spec:
|
||||
commonMetadata:
|
||||
|
|
29
network/loadbalancers/fortigate-lb.yaml
Normal file
29
network/loadbalancers/fortigate-lb.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
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