提交 8d4f4b3f 编写于 作者: M milvus-ci-robot

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


Former-commit-id: c9c4ea95db5ad7fb9d63e0ae081009e84185aa6f
上级 9f76df07
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册