
云原生
利用kurise做日志采集使用promtail做sidecar采集日志
利用OpenKurise中的kruise做日志采集,原来我使用的是filebeat作为sidecar采集日志的,虽然采集没有什么问题,但是通过es进才看日志就比较繁琐了,这次实验p
[root@wulaoer.org ~]# docker pull centos Using default tag: latest latest: Pulling from library/centos 8a29a15cefae: Downloading [===> ] 4.836MB/73.23MB error pulling image configuration: Get https://registry-1.docker.io/v2/library/centos/blobs/sha256:470671670cac686c7cf0081e0b37da2e9f4f768ddc5f6a26102ccd1c6954c1ee: net/http: TLS handshake timeout第一种方法替换镜像源:
[root@wulaoer.org ~]# vim /etc/docker/daemon.json
{
"storage-driver": "overlay2",
"storage-opts": ["overlay2.override_kernel_check=true"]
}
替换
[root@wulaoer.org ~]# vim /etc/docker/daemon.json
{
"registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]
}
或者一换一下dns
54.175.43.85 registry-1.docker.io这样docker的镜像就能下载了,后期使用docker容器就没问题了,如有其它的问题下次在说。
评论 0