Environment Variables

Environment variables store data about the current platform environment. You can retrieve the value of an environment variable using the built-in function GETENV().

HPCC_DEPLOYMENT

In a Kubernetes deployment, this variable is auto-populated with the name of the Helm chart. For example, if deployed using:

helm install myenv1 hpcc/hpcc

then the HPCC_DEPLOYMENT variable will contain the value: myenv1.

For a bare-metal environment, this value can be set in environment.conf, by adding:

deploymentName=myenv1

You can retrieve this value using:

OUTPUT(GETENV('HPCC_DEPLOYMENT', 'unknown'));

See Also: GETENV