42 lines
1.9 KiB
YAML
42 lines
1.9 KiB
YAML
apiVersion: v1
|
||
kind: Service
|
||
metadata:
|
||
name: apolo-kms
|
||
namespace: apolo
|
||
labels:
|
||
app.kubernetes.io/name: apolo-kms
|
||
app.kubernetes.io/part-of: apolo
|
||
app.kubernetes.io/component: kurento
|
||
spec:
|
||
type: LoadBalancer
|
||
loadBalancerIP: 192.168.200.14
|
||
externalTrafficPolicy: Local
|
||
selector:
|
||
app.kubernetes.io/name: apolo-kms
|
||
ports:
|
||
- name: ws
|
||
port: 8888
|
||
targetPort: 8888
|
||
protocol: TCP
|
||
# --- UDP range (inicialmente 40000–40019). Si todo va bien, añadimos hasta 40099 ---
|
||
- { name: udp-40000, port: 40000, targetPort: 40000, protocol: UDP }
|
||
- { name: udp-40001, port: 40001, targetPort: 40001, protocol: UDP }
|
||
- { name: udp-40002, port: 40002, targetPort: 40002, protocol: UDP }
|
||
- { name: udp-40003, port: 40003, targetPort: 40003, protocol: UDP }
|
||
- { name: udp-40004, port: 40004, targetPort: 40004, protocol: UDP }
|
||
- { name: udp-40005, port: 40005, targetPort: 40005, protocol: UDP }
|
||
- { name: udp-40006, port: 40006, targetPort: 40006, protocol: UDP }
|
||
- { name: udp-40007, port: 40007, targetPort: 40007, protocol: UDP }
|
||
- { name: udp-40008, port: 40008, targetPort: 40008, protocol: UDP }
|
||
- { name: udp-40009, port: 40009, targetPort: 40009, protocol: UDP }
|
||
- { name: udp-40010, port: 40010, targetPort: 40010, protocol: UDP }
|
||
- { name: udp-40011, port: 40011, targetPort: 40011, protocol: UDP }
|
||
- { name: udp-40012, port: 40012, targetPort: 40012, protocol: UDP }
|
||
- { name: udp-40013, port: 40013, targetPort: 40013, protocol: UDP }
|
||
- { name: udp-40014, port: 40014, targetPort: 40014, protocol: UDP }
|
||
- { name: udp-40015, port: 40015, targetPort: 40015, protocol: UDP }
|
||
- { name: udp-40016, port: 40016, targetPort: 40016, protocol: UDP }
|
||
- { name: udp-40017, port: 40017, targetPort: 40017, protocol: UDP }
|
||
- { name: udp-40018, port: 40018, targetPort: 40018, protocol: UDP }
|
||
- { name: udp-40019, port: 40019, targetPort: 40019, protocol: UDP }
|