1、进入rancher server容器,执行相关操作docker ps | grep rancher
docker exec -it d11163111f8e /bin/bash
kubectl --insecure-skip-tls-verify -n kube-system delete secrets k3s-serving
kubectl --insecure-skip-tls-verify delete secret serving-cert -n cattle-system
rm -f /var/lib/rancher/k3s/server/tls/dynamic-cert.json
,下面我们就来聊聊关于rancher系统日志?接下来我们就一起去了解一下吧!
rancher系统日志
1、进入rancher server容器,执行相关操作
docker ps | grep rancher
docker exec -it d11163111f8e /bin/bash
kubectl --insecure-skip-tls-verify -n kube-system delete secrets k3s-serving
kubectl --insecure-skip-tls-verify delete secret serving-cert -n cattle-system
rm -f /var/lib/rancher/k3s/server/tls/dynamic-cert.json
2、请求刷新参数
curl --insecure -sfL https://localhost:8443/v3
3、重启rancher server容器
docker restart d11163111f8e