mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
Pod's own IP address from inside a container in the Pod
Former-commit-id: b3742a35104390bc1375cff3cc95057cb12f61bb
This commit is contained in:
parent
492584bfcb
commit
cd1e9961b8
@ -26,9 +26,9 @@ spec:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: 123456
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
name: mysql
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user