mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
enhance: add node name env (#29437)
the purpose of this PR is to add node name to environment variable for more easily knowing which node the pod is on Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
This commit is contained in:
parent
6f4791da0b
commit
2cbfcb7e0d
@ -31,6 +31,10 @@ spec:
|
||||
value: 240
|
||||
- name: COMPOSE_HTTP_TIMEOUT
|
||||
value: 240
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
tty: true
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
@ -19,6 +19,10 @@ spec:
|
||||
value: 240
|
||||
- name: COMPOSE_HTTP_TIMEOUT
|
||||
value: 240
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
tty: true
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
@ -18,6 +18,10 @@ spec:
|
||||
value: 240
|
||||
- name: COMPOSE_HTTP_TIMEOUT
|
||||
value: 240
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
tty: true
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
@ -18,6 +18,10 @@ spec:
|
||||
value: 240
|
||||
- name: COMPOSE_HTTP_TIMEOUT
|
||||
value: 240
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
tty: true
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user