首页 > 其他分享 >Kubernetes环境搭建

Kubernetes环境搭建

时间:2022-10-20 16:47:25浏览次数:89  
标签:profile Kubernetes 证书 ntpdate 环境 etc 搭建

一、在Kubernetes环境搭建过程中,会创建CA、admin、etcd等等证书,创建证书的过程中需要注意当前系统的时间,否则很可能因为生成证书时间同其他系统时间差别,造成证书验证失败。

1. 通过VirtualBox设置vm系统时间同宿主机时间同步(参考),不过都没成功。。。

2. 大多数采用的方式(参考另外参考

echo "ntpdate cn.pool.ntp.org" >> /etc/profile
chmod +s /usr/sbin/ntpdate
source /etc/profile

 

标签:profile,Kubernetes,证书,ntpdate,环境,etc,搭建
From: https://www.cnblogs.com/hello-yz/p/16810412.html

相关文章