concept environment variable in category openshift

appears as: environment variables, environment variables, n environment variable
OpenShift in Action

This is an excerpt from Manning's book OpenShift in Action.

If the deployment fails, double-check that the environment variables you passed to openshift-metrics.yml are accurate. Pay especially close attention to the openshift_metrics_hawkular_hostname variable to be sure it’s correct for your installation.

In OpenShift, DNS is often the preferred choice for service discovery. These DNS entries normally take the form <service>.<pod_namespace>.svc.cluster.local, but the format can be shortened to <service>.<pod_namespace>.svc or even <service> if you’re looking for a service local to the current namespace. The main benefit of using DNS as the service-discovery mechanism is that it’s consistent and less brittle than using environment variables, as we’ll demonstrate in the next section.

Figure 8.3. WildFly clustering environment variables