修改了rancher server(版本v2.8.5) ip 地址后 agent logs 报错

Rancher Server 设置

  • Rancher 版本:版本v2.8.5
  • 安装选项 Docker install
  • 在线或离线部署: 在线

下游集群信息

通过 docker run 创建的集群

操作:
我将 racnher server ip地址从 192.168.67.152, 改为域名后报错,集群不可用
通过文档 rancher 2.6(https://forums.rancher.cn/t/rancher-v2-6-rancher-server-ip/729)我集群正常了,但是

659ab6576a41 rancher/rancher-agent:v2.8.5 “run.sh --no-registe…” 46 hours ago Restarting (1) 30 seconds ago share-mnt

rancher/rancher-agent:v2.8.5 一直重启,我 docker rm -f 删除后,还是一样自动起来,报错:

time=“2024-10-11T03:03:48Z” level=fatal msg="Certificate chain is not complete, please check if all needed intermediate certificates are included in the server certificate (in the correct order) and if the cacerts setting in Rancher either contains the correct CA certificate (in the case of using self signed certificates) or is empty (in the case of using a certificate signed by a recognized CA). Certificate information is displayed above. error: Get "https://192.168.67.152": tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "*.xxxx.com")

怎么还是连接的https://192.168.67.152