siranga/manifests/service.yaml
Dreaded_X eb09be3647
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m40s
Open ssh port using upnp
2025-04-16 16:24:07 +02:00

29 lines
488 B
YAML

apiVersion: v1
kind: Service
metadata:
name: tunnel
spec:
ports:
- name: "3000"
port: 3000
targetPort: 3000
selector:
app: tunnel
---
apiVersion: v1
kind: Service
metadata:
name: tunnel-ssh
annotations:
kube-vip.io/forwardUPNP: true
# For some reason upnp only works on 10.0.0.x IPs
kube-vip.io/loadbalancerIPs: 10.0.0.180
spec:
type: LoadBalancer
ports:
- name: "2222"
port: 2222
targetPort: 2222
selector:
app: tunnel