接因为证书时间问题,所以没法自动更新。只能手动停止并重启swarm集群。
因为集群时间不一致。
1.yum -y install ntp ntpdate
2.同步时间:ntpdate cn.pool.ntp.org