260 lines
5.7 KiB
JSON
260 lines
5.7 KiB
JSON
{
|
|
"apiVersion": "v1",
|
|
"kind": "Service",
|
|
"metadata": {
|
|
"annotations": {
|
|
"metallb.io/ip-allocated-from-pool": "prod-pool",
|
|
"metallb.universe.tf/loadBalancerIPs": "10.0.57.203"
|
|
},
|
|
"labels": {
|
|
"app": "asterisk"
|
|
},
|
|
"name": "asterisk-sip",
|
|
"namespace": "telephony"
|
|
},
|
|
"spec": {
|
|
"allocateLoadBalancerNodePorts": true,
|
|
"externalTrafficPolicy": "Local",
|
|
"healthCheckNodePort": 32642,
|
|
"internalTrafficPolicy": "Cluster",
|
|
"ports": [
|
|
{
|
|
"name": "sip-udp",
|
|
"nodePort": 30143,
|
|
"port": 5060,
|
|
"protocol": "UDP",
|
|
"targetPort": 5060
|
|
},
|
|
{
|
|
"name": "sip-tcp",
|
|
"nodePort": 30143,
|
|
"port": 5060,
|
|
"protocol": "TCP",
|
|
"targetPort": 5060
|
|
},
|
|
{
|
|
"name": "rtp-10000",
|
|
"nodePort": 31818,
|
|
"port": 10000,
|
|
"protocol": "UDP",
|
|
"targetPort": 10000
|
|
},
|
|
{
|
|
"name": "rtp-10001",
|
|
"nodePort": 30670,
|
|
"port": 10001,
|
|
"protocol": "UDP",
|
|
"targetPort": 10001
|
|
},
|
|
{
|
|
"name": "rtp-10002",
|
|
"nodePort": 30807,
|
|
"port": 10002,
|
|
"protocol": "UDP",
|
|
"targetPort": 10002
|
|
},
|
|
{
|
|
"name": "rtp-10003",
|
|
"nodePort": 32369,
|
|
"port": 10003,
|
|
"protocol": "UDP",
|
|
"targetPort": 10003
|
|
},
|
|
{
|
|
"name": "rtp-10004",
|
|
"nodePort": 30585,
|
|
"port": 10004,
|
|
"protocol": "UDP",
|
|
"targetPort": 10004
|
|
},
|
|
{
|
|
"name": "rtp-10005",
|
|
"nodePort": 31732,
|
|
"port": 10005,
|
|
"protocol": "UDP",
|
|
"targetPort": 10005
|
|
},
|
|
{
|
|
"name": "rtp-10006",
|
|
"nodePort": 31964,
|
|
"port": 10006,
|
|
"protocol": "UDP",
|
|
"targetPort": 10006
|
|
},
|
|
{
|
|
"name": "rtp-10007",
|
|
"nodePort": 30590,
|
|
"port": 10007,
|
|
"protocol": "UDP",
|
|
"targetPort": 10007
|
|
},
|
|
{
|
|
"name": "rtp-10008",
|
|
"nodePort": 32576,
|
|
"port": 10008,
|
|
"protocol": "UDP",
|
|
"targetPort": 10008
|
|
},
|
|
{
|
|
"name": "rtp-10009",
|
|
"nodePort": 30609,
|
|
"port": 10009,
|
|
"protocol": "UDP",
|
|
"targetPort": 10009
|
|
},
|
|
{
|
|
"name": "rtp-10010",
|
|
"nodePort": 31719,
|
|
"port": 10010,
|
|
"protocol": "UDP",
|
|
"targetPort": 10010
|
|
},
|
|
{
|
|
"name": "rtp-10011",
|
|
"nodePort": 31134,
|
|
"port": 10011,
|
|
"protocol": "UDP",
|
|
"targetPort": 10011
|
|
},
|
|
{
|
|
"name": "rtp-10012",
|
|
"nodePort": 32402,
|
|
"port": 10012,
|
|
"protocol": "UDP",
|
|
"targetPort": 10012
|
|
},
|
|
{
|
|
"name": "rtp-10013",
|
|
"nodePort": 32366,
|
|
"port": 10013,
|
|
"protocol": "UDP",
|
|
"targetPort": 10013
|
|
},
|
|
{
|
|
"name": "rtp-10014",
|
|
"nodePort": 32726,
|
|
"port": 10014,
|
|
"protocol": "UDP",
|
|
"targetPort": 10014
|
|
},
|
|
{
|
|
"name": "rtp-10015",
|
|
"nodePort": 30626,
|
|
"port": 10015,
|
|
"protocol": "UDP",
|
|
"targetPort": 10015
|
|
},
|
|
{
|
|
"name": "rtp-10016",
|
|
"nodePort": 32040,
|
|
"port": 10016,
|
|
"protocol": "UDP",
|
|
"targetPort": 10016
|
|
},
|
|
{
|
|
"name": "rtp-10017",
|
|
"nodePort": 32389,
|
|
"port": 10017,
|
|
"protocol": "UDP",
|
|
"targetPort": 10017
|
|
},
|
|
{
|
|
"name": "rtp-10018",
|
|
"nodePort": 30345,
|
|
"port": 10018,
|
|
"protocol": "UDP",
|
|
"targetPort": 10018
|
|
},
|
|
{
|
|
"name": "rtp-10019",
|
|
"nodePort": 32459,
|
|
"port": 10019,
|
|
"protocol": "UDP",
|
|
"targetPort": 10019
|
|
},
|
|
{
|
|
"name": "rtp-10020",
|
|
"nodePort": 31689,
|
|
"port": 10020,
|
|
"protocol": "UDP",
|
|
"targetPort": 10020
|
|
},
|
|
{
|
|
"name": "rtp-10021",
|
|
"nodePort": 31020,
|
|
"port": 10021,
|
|
"protocol": "UDP",
|
|
"targetPort": 10021
|
|
},
|
|
{
|
|
"name": "rtp-10022",
|
|
"nodePort": 30901,
|
|
"port": 10022,
|
|
"protocol": "UDP",
|
|
"targetPort": 10022
|
|
},
|
|
{
|
|
"name": "rtp-10023",
|
|
"nodePort": 31490,
|
|
"port": 10023,
|
|
"protocol": "UDP",
|
|
"targetPort": 10023
|
|
},
|
|
{
|
|
"name": "rtp-10024",
|
|
"nodePort": 31629,
|
|
"port": 10024,
|
|
"protocol": "UDP",
|
|
"targetPort": 10024
|
|
},
|
|
{
|
|
"name": "rtp-10025",
|
|
"nodePort": 32374,
|
|
"port": 10025,
|
|
"protocol": "UDP",
|
|
"targetPort": 10025
|
|
},
|
|
{
|
|
"name": "rtp-10026",
|
|
"nodePort": 31209,
|
|
"port": 10026,
|
|
"protocol": "UDP",
|
|
"targetPort": 10026
|
|
},
|
|
{
|
|
"name": "rtp-10027",
|
|
"nodePort": 32521,
|
|
"port": 10027,
|
|
"protocol": "UDP",
|
|
"targetPort": 10027
|
|
},
|
|
{
|
|
"name": "rtp-10028",
|
|
"nodePort": 32265,
|
|
"port": 10028,
|
|
"protocol": "UDP",
|
|
"targetPort": 10028
|
|
},
|
|
{
|
|
"name": "rtp-10029",
|
|
"nodePort": 30871,
|
|
"port": 10029,
|
|
"protocol": "UDP",
|
|
"targetPort": 10029
|
|
},
|
|
{
|
|
"name": "rtp-10030",
|
|
"nodePort": 31116,
|
|
"port": 10030,
|
|
"protocol": "UDP",
|
|
"targetPort": 10030
|
|
}
|
|
],
|
|
"selector": {
|
|
"app": "asterisk"
|
|
},
|
|
"sessionAffinity": "None",
|
|
"type": "LoadBalancer"
|
|
}
|
|
}
|