Skip to content

Commit

Permalink
Added Field Path in Deployment Template (#4852)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokdevtron authored Mar 28, 2024
1 parent 698e4ab commit ed12278
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ EnvVariables: []
```
To set environment variables for the containers that run in the Pod.

### EnvVariablesFromFieldPath
```yaml
EnvVariablesFromFieldPath:
- name: ENV_NAME
fieldPath: status.podIP (example)
```
To set environment variables for the containers and fetching their values from pod-level fields.

### Liveness Probe

If this check fails, kubernetes restarts the pod. This should return error code in case of non-recoverable error.
Expand Down

0 comments on commit ed12278

Please sign in to comment.