OpenShift Environment Variables

From NovaOrdis Knowledge Base
Revision as of 23:23, 5 February 2018 by Ovidiu (talk | contribs) (Created page with "=External= * https://docs.openshift.com/container-platform/latest/dev_guide/environment_variables.html =Internal= * OpenShift_Concepts#Environment_Variables|OpenShift Con...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

  • [[OpenShift_Concepts#Environment_Variables|OpenShift Concepts=

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