19. Internal & Confidential
What we’re going to do
19
●Launch a Consul cluster using Helm (and have it with a fixed IP address)
●Configure Kube-DNS to use Consul as a custom dns (stub domains)
●For every stream published to Nginx create a DNS record
●When playing a stream, use its unique FQDN to have it resolved to the
right Nginx IP address by our DNS
26. Internal & Confidential
Registering a stream
“dns” as fictitious node
name
$name as service name
Will be resolved from
$name.service.consul
LOCAL_IP as the ip
address of Nginx
26