2026-02-28 13:42:27 +00:00
|
|
|
|
apiVersion: v1
|
|
|
|
|
|
kind: Service
|
|
|
|
|
|
metadata:
|
|
|
|
|
|
name: pingora
|
|
|
|
|
|
namespace: ingress
|
|
|
|
|
|
spec:
|
|
|
|
|
|
selector:
|
|
|
|
|
|
app: pingora
|
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
|
ports:
|
|
|
|
|
|
- name: http
|
|
|
|
|
|
port: 80
|
|
|
|
|
|
targetPort: 80
|
|
|
|
|
|
protocol: TCP
|
|
|
|
|
|
- name: https
|
|
|
|
|
|
port: 443
|
|
|
|
|
|
targetPort: 443
|
|
|
|
|
|
protocol: TCP
|
2026-03-08 20:37:49 +00:00
|
|
|
|
- name: metrics
|
|
|
|
|
|
port: 9090
|
|
|
|
|
|
targetPort: 9090
|
|
|
|
|
|
protocol: TCP
|
2026-02-28 13:42:27 +00:00
|
|
|
|
- name: turn-udp
|
|
|
|
|
|
port: 3478
|
|
|
|
|
|
targetPort: 3478
|
|
|
|
|
|
protocol: UDP
|
|
|
|
|
|
# TURN relay ports 49152–49252 are forwarded via hostPort on the pod (see deployment).
|
|
|
|
|
|
# Kubernetes Services do not support port ranges; UDP relay is handled at the node level.
|