change the service name to pod ip (#3926)

* change the service name to pod ip

* update the outdate link
This commit is contained in:
jianglingxia
2017-06-01 01:33:27 +08:00
committed by Andrew Chen
parent e0a852eb28
commit 5483b4a126
3 changed files with 2 additions and 2 deletions
@@ -160,7 +160,7 @@ behind a Service and you don't intend to increase the number of Pods.
Run a MySQL client to connect to the server:
```
kubectl run -it --rm --image=mysql:5.6 mysql-client -- mysql -h mysql -ppassword
kubectl run -it --rm --image=mysql:5.6 mysql-client -- mysql -h <pod-ip> -ppassword
```
This command creates a new Pod in the cluster running a mysql client