[root@k8s-master ~]# vim /etc/etcd/etcd.conf
ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:2379"
ETCD_ADVERTISE_CLIENT_URLS="http://10.0.0.100:2379"
1.3 启动etcd服务及检查
[root@k8s-master ~]# systemctl enable etcd.service
Created symlink from/etc/systemd/system/multi-user.target.wants/etcd.service to /usr/lib/systemd/system/etcd.service.[root@k8s-master ~]# systemctl start etcd.service [root@k8s-master ~]# netstat -lntup[root@k8s-master ~]# etcdctl -C http://10.0.0.100:2379 cluster-health
member 8e9e05c52164694d is healthy: got healthy result from http://10.0.0.100:2379
cluster is healthy