more generic patch
use kubectl exec command so we dont have to worry about container type
This commit is contained in:
@@ -100,16 +100,15 @@ for `${NODE_IP}` on each machine.
|
|||||||
|
|
||||||
#### Validating your cluster
|
#### 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
|
```shell
|
||||||
docker exec -i -t < container_id > etcdctl member list
|
kubectl exec < pod_name > etcdctl member list
|
||||||
```
|
```
|
||||||
|
|
||||||
and
|
and
|
||||||
|
|
||||||
```shell
|
```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`
|
You can also validate that this is working with `etcdctl set foo bar` on one node, and `etcdctl get foo`
|
||||||
|
|||||||
Reference in New Issue
Block a user