diff --git a/docker/coturn-dns/pod-node-register.py b/docker/coturn-dns/pod-node-register.py index dcf0151..81bf65f 100644 --- a/docker/coturn-dns/pod-node-register.py +++ b/docker/coturn-dns/pod-node-register.py @@ -20,7 +20,7 @@ def validIPAddress(IP: str) -> str: while(True): ips_set = set() - pods = v1.list_namespaced_pod(namespace="coturn") + pods = v1.list_namespaced_pod(namespace="coturn", label_selector="app=coturn") for i in pods.items: if not i.spec.node_name: diff --git a/k8s/coturn-dns/values-staging.yaml b/k8s/coturn-dns/values-staging.yaml index fca764e..e277920 100644 --- a/k8s/coturn-dns/values-staging.yaml +++ b/k8s/coturn-dns/values-staging.yaml @@ -1,3 +1,3 @@ domain: "staging.video.jamkazam.com" # The docker image tag for coturn-dns in GCR -coturn_dns_image_tag: 1.0.10 +coturn_dns_image_tag: 1.0.11 diff --git a/tasks/larger-instances-for-media.md b/tasks/larger-instances-for-media.md new file mode 100644 index 0000000..dbf077d --- /dev/null +++ b/tasks/larger-instances-for-media.md @@ -0,0 +1,19 @@ +These are the 'media processing' services: +* coturn +* mediasoup + +These are the load-balancing & routing services: +* haproxy +* nginx + +These are the operational services: +* prometheus +* loki +* argocd +... anything in the monitoring namespace + +These are the infrastructural services: +* redis + + +We have 3 pools, in production Linode K8s. One pool should be *just* for media processing services; the other 2 pools should host all the other services. Also, the media processing pool should be a larger instance size than the other 2 pools; double the size.