OpenShift Environment Variables: Difference between revisions

From NovaOrdis Knowledge Base
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:

They can also be set with:

oc set env

Some environment variables are automatically exported:

  • <SVCNAME>_SERVICE_HOST
  • <SVCNAME>_SERVICE_PORT