platform: keep GX10 shared VIP traffic policy aligned
This commit is contained in:
18
gx10/platform/gitea-ssh-service.yaml
Normal file
18
gx10/platform/gitea-ssh-service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea-ssh
|
||||
namespace: gitea
|
||||
annotations:
|
||||
metallb.io/allow-shared-ip: gitea-traefik-202
|
||||
metallb.universe.tf/loadBalancerIPs: 10.0.57.202
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
selector:
|
||||
app: gitea
|
||||
ports:
|
||||
- name: ssh
|
||||
port: 22
|
||||
protocol: TCP
|
||||
targetPort: 2222
|
||||
Reference in New Issue
Block a user