We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教各位,老师演示用虚拟机,ip就是固定一个,现在我使用阿里云服务器分公网和私网ip, 下面etcd配置, --listen-client-urls=http://172.26.178.195:2379, 必须写的是我私网IP,不然起不来;但是这样写的话,node节点kube-calico连过来会有错误 Dec 17 11:58:56 a docker[27052]: bird: Mesh_172_26_178_195: Socket error: bind: Address not available,求教大家怎么解!
Type=notify WorkingDirectory=/var/lib/etcd/ ExecStart=/root/kubernetes/bin/etcd --name=172.26.178.195 --listen-client-urls=http://172.26.178.195:2379,http://127.0.0.1:2379 --advertise-client-urls=http://172.26.178.195:2379 --data-dir=/var/lib/etcd Restart=on-failure RestartSec=5 LimitNOFILE=65536
master:
[root@iz8vbe8g1tunlrid957q2dz bin]# ./calicoctl node status Calico process is running.
IPv4 BGP status +----------------+-------------------+-------+----------+---------+ | PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO | +----------------+-------------------+-------+----------+---------+ | 47.105.223.158 | node-to-node mesh | start | 02:49:30 | Connect | | 47.105.189.58 | node-to-node mesh | start | 02:49:30 | Connect | +----------------+-------------------+-------+----------+---------+
node: Calico process is running.
IPv4 BGP status +----------------+-------------------+-------+----------+--------------------------------+ | PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO | +----------------+-------------------+-------+----------+--------------------------------+ | 47.105.189.58 | node-to-node mesh | start | 03:54:15 | Active Socket: Connection | | | | | | closed | | 172.26.178.195 | node-to-node mesh | start | 03:54:15 | Active Socket: Connection | | | | | | closed | +----------------+-------------------+-------+----------+--------------------------------+
IPv6 BGP status No IPv6 peers found.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请教各位,老师演示用虚拟机,ip就是固定一个,现在我使用阿里云服务器分公网和私网ip, 下面etcd配置, --listen-client-urls=http://172.26.178.195:2379, 必须写的是我私网IP,不然起不来;但是这样写的话,node节点kube-calico连过来会有错误 Dec 17 11:58:56 a docker[27052]: bird: Mesh_172_26_178_195: Socket error: bind: Address not available,求教大家怎么解!
Type=notify
WorkingDirectory=/var/lib/etcd/
ExecStart=/root/kubernetes/bin/etcd
--name=172.26.178.195
--listen-client-urls=http://172.26.178.195:2379,http://127.0.0.1:2379
--advertise-client-urls=http://172.26.178.195:2379
--data-dir=/var/lib/etcd
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
master:
[root@iz8vbe8g1tunlrid957q2dz bin]# ./calicoctl node status
Calico process is running.
IPv4 BGP status
+----------------+-------------------+-------+----------+---------+
| PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO |
+----------------+-------------------+-------+----------+---------+
| 47.105.223.158 | node-to-node mesh | start | 02:49:30 | Connect |
| 47.105.189.58 | node-to-node mesh | start | 02:49:30 | Connect |
+----------------+-------------------+-------+----------+---------+
node:
Calico process is running.
IPv4 BGP status
+----------------+-------------------+-------+----------+--------------------------------+
| PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO |
+----------------+-------------------+-------+----------+--------------------------------+
| 47.105.189.58 | node-to-node mesh | start | 03:54:15 | Active Socket: Connection |
| | | | | closed |
| 172.26.178.195 | node-to-node mesh | start | 03:54:15 | Active Socket: Connection |
| | | | | closed |
+----------------+-------------------+-------+----------+--------------------------------+
IPv6 BGP status
No IPv6 peers found.
The text was updated successfully, but these errors were encountered: