tiny changes

closed v186-r1
jmgao 2017-12-27 13:50:38 +08:00
parent 981b4558e8
commit cdaaba930d
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ ExecStart={{ bin_dir }}/docker run --net=host --privileged --name=calico-node \
-v /run/docker/plugins:/run/docker/plugins \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/log/calico:/var/log/calico \
calico/node:v2.6.2
calico/node:v2.6.3
ExecStop={{ bin_dir }}/docker rm -f calico-node
Restart=always
RestartSec=10
@ -162,12 +162,12 @@ spec:
### 验证calico网络
执行calico安装 `ansible-playbook 05.calico.yml` 成功后可以验证如下:(需要等待calico/node:v2.6.2 镜像下载完成有时候即便上一步已经配置了docker国内加速还是可能比较慢建议确认以下容器运行起来以后再执行后续步骤)
执行calico安装 `ansible-playbook 05.calico.yml` 成功后可以验证如下:(需要等待calico/node:v2.6.3 镜像下载完成有时候即便上一步已经配置了docker国内加速还是可能比较慢建议确认以下容器运行起来以后再执行后续步骤)
``` bash
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
631dde89eada calico/node:v2.6.2 "start_runit" 10 minutes ago Up 10 minutes calico-node
631dde89eada calico/node:v2.6.3 "start_runit" 10 minutes ago Up 10 minutes calico-node
```
**查看网卡和路由信息**