Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

kubernetes: create Service Environment Variables #8

Open
bradrydzewski opened this issue Dec 4, 2018 · 0 comments
Open

kubernetes: create Service Environment Variables #8

bradrydzewski opened this issue Dec 4, 2018 · 0 comments

Comments

@bradrydzewski
Copy link
Member

Kubernetes creates environment variables for each linked service:

FOO_SERVICE_HOST=<the host the service is running on>
FOO_SERVICE_PORT=<the port the service is running on>

We should automatically create these environment variables for services in the compiler. They would be ignored by the Kubernetes runtime, but included in the Docker runtime. The goal would be to encourage use of environment variables instead of hostnames, for portability between engines.

@bradrydzewski bradrydzewski changed the title Create Service Environment Variables kubernetes: create Service Environment Variables Feb 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant