ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
15
services/short/k8s/tunnel/service.yaml
Normal file
15
services/short/k8s/tunnel/service.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ike
|
||||
namespace: short
|
||||
labels: {app.kubernetes.io/name: tunnel, io.cilium/bgp-announce: "true"}
|
||||
annotations: {lbipam.cilium.io/ips: ""}
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
publishNotReadyAddresses: true
|
||||
externalTrafficPolicy: Local
|
||||
selector: {app.kubernetes.io/name: tunnel, app.kubernetes.io/instance: short, role: active}
|
||||
ports:
|
||||
- {name: ike, port: 500, targetPort: 500, protocol: UDP}
|
||||
- {name: natt, port: 4500, targetPort: 4500, protocol: UDP}
|
||||
Loading…
Reference in a new issue