Kubernetes documentation on setting environment variables of a container only include examples of new environment variables.
This approach does not work when I try to extend an existing environment variable PATH:
kind: Pod
apiVersion: v1
spec:
containers:
- name: blah
image: blah
env:
- name: PATH
value: "$PATH:/usr/local/nvidia/bin"
The created pod keeps crashing with
BackOff Back-off restarting failed container
FailedSync Error syncing pod
Any recommendations as to how I could extend the PATH environment variable?