OpenShift Environment Variables: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://docs.openshift.com/container-platform/latest/dev_guide/environment_variables.html =Internal= * OpenShift_Concepts#Environment_Variables|OpenShift Con...") |
|||
Line 5: | Line 5: | ||
=Internal= | =Internal= | ||
* [[OpenShift_Concepts#Environment_Variables|OpenShift Concepts | * [[OpenShift_Concepts#Environment_Variables|OpenShift Concepts]] | ||
=Overview= | =Overview= |
Revision as of 23:23, 5 February 2018
External
Internal
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