Commit 9f76df07 authored by milvus-ci-robot's avatar milvus-ci-robot
Browse files

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


Former-commit-id: 3e614efa89e3d3c9fca4b7adcd3a27e57508632c
parent 1ff5f020
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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