15 lines
506 B
YAML
15 lines
506 B
YAML
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}
|