提交 492584bf 编写于 作者: M milvus-ci-robot

Pod's own IP address from inside a container in the Pod


Former-commit-id: a530a8a4c783558e2349849f676d90ee9703309b
上级 fa8e5f4e
......@@ -25,6 +25,10 @@ spec:
env:
- name: MYSQL_ROOT_PASSWORD
value: 123456
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
ports:
- containerPort: 3306
name: mysql
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册