OpenShift Environment Variables
Jump to navigation
Jump to search
External
Internal
- [[OpenShift_Concepts#Environment_Variables|OpenShift Concepts=
Overview
Environment variables can be declared in:
- deployment configurations. This is an example of how to set custom environment variables in the deployment configuration.
- replication controllers.
- build configurations.
They can also be set with:
oc set env
Some environment variables are automatically exported:
- <SVCNAME>_SERVICE_HOST
- <SVCNAME>_SERVICE_PORT