more generic patch

use kubectl exec command so we dont have to worry about container type
This commit is contained in:
Dominic001
2016-10-29 01:48:34 +02:00
committed by GitHub
parent f83b95234a
commit f6f0da2f9a
+3 -4
View File
@@ -100,16 +100,15 @@ for `${NODE_IP}` on each machine.
#### Validating your cluster
Once you copy this into all three nodes, you should have a clustered etcd set up. In case you run your pods on docker container you can validate with
Once you copy this into all three nodes, you should have a clustered etcd set up. You can validate on master with
```shell
docker exec -i -t < container_id > etcdctl member list
kubectl exec < pod_name > etcdctl member list
```
and
```shell
docker exec -i -t < container_id > etcdctl cluster-health
kubectl exec < pod_name > etcdctl cluster-health
```
You can also validate that this is working with `etcdctl set foo bar` on one node, and `etcdctl get foo`