Skip to content

Commit 19ce9ae

Browse files
authored
Add OpenShift note on exposing the host IP (#80)
1 parent a57561e commit 19ce9ae

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Configuration.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ export INSTANA_DEV="true"
3737
## Disabling Automatic instrumentation
3838

3939
You can disable automatic instrumentation (tracing) by setting the environment variable `INSTANA_DISABLE_AUTO_INSTR`. This will suppress the loading of instrumentation built-into the sensor.
40+
41+
## OpenShift
42+
43+
In certain scenarios, the Python sensor can't automatically locate the Instana host agent. To resolve this, add the following to your Python app deployment descriptor:
44+
45+
```
46+
- name: INSTANA_AGENT_HOST
47+
valueFrom:
48+
fieldRef:
49+
fieldPath: status.hostIP
50+
```
51+
52+
This will set the environment variable INSTANA_AGENT_HOST with the IP of the host so the Python sensor can properly locate the Host agent.
53+

0 commit comments

Comments
 (0)