Hello -
I'm attempting to set up kong on Google's Container Engine, Kubernetes. One thing which Kubernetes doesn't seem to support is linking between Docker containers.
Kubernetes has a concept of "Services" which are a way of encapsulating many instances of a container under a pseudo load balancer. To reference services in an other container (ilke Kong needing Cassandra) Kubernetes sets environment variables. For instance, the Kong container has an environment variable called "CASSANDRA_SERVICE_HOST" which has the IP address of the Cassandra container.
Is there a way to use an environment variable at runtime in the kong.yml file?
For reference, this is how Kubernetes suggests discovering services:
Thanks,
Jason