Rancher2.5/2.6创建K8S注意

1. system-default-registry配置

用于 RKE 部署系统服务时镜像的拉取,其他服务拉取镜像不生效。

registry.cn-hangzhou.aliyuncs.com

2. rancher agent 启动需要挂载宿主时区

-v  /etc/localtime:/etc/localtime

3. k3s config配置

export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注