We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dde5b0 commit f1677eaCopy full SHA for f1677ea
docs/user-guide/creating-application/deployment-template/deployment.md
@@ -62,6 +62,14 @@ EnvVariables: []
62
```
63
To set environment variables for the containers that run in the Pod.
64
65
+### EnvVariablesFromFieldPath
66
+```yaml
67
+EnvVariablesFromFieldPath:
68
+- name: ENV_NAME
69
+ fieldPath: status.podIP (example)
70
+```
71
+To set environment variables for the containers and fetching their values from pod-level fields.
72
+
73
### Liveness Probe
74
75
If this check fails, kubernetes restarts the pod. This should return error code in case of non-recoverable error.
0 commit comments