- Add DDoS, scanner, and rate limiter configuration to pingora-config - Add kubernetes config section with configurable namespace/resource names - Expose metrics port 9090 on deployment and service
29 lines
635 B
YAML
29 lines
635 B
YAML
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
|
||
- name: metrics
|
||
port: 9090
|
||
targetPort: 9090
|
||
protocol: TCP
|
||
- 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.
|