enhance the sleep with some pod / node information
This commit is contained in:
parent
3d302a912f
commit
3e42a36e65
1 changed files with 20 additions and 0 deletions
|
@ -12,3 +12,23 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: NICOTEST
|
- name: NICOTEST
|
||||||
value: "correct environment"
|
value: "correct environment"
|
||||||
|
- name: MY_NODE_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: spec.nodeName
|
||||||
|
- name: MY_POD_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: MY_POD_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
- name: MY_POD_IP
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: status.podIP
|
||||||
|
- name: MY_POD_SERVICE_ACCOUNT
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: spec.serviceAccountName
|
||||||
|
|
Loading…
Reference in a new issue