change the service name to pod ip (#3926)
* change the service name to pod ip * update the outdate link
This commit is contained in:
committed by
Andrew Chen
parent
e0a852eb28
commit
5483b4a126
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user