摘要: 在docker服务器上添加新的镜像后想在rancher中部署运行,通过docker image ls可以看到镜像存在,但是在通过rancher添加部署的时候却出现以下错误。 Failed to pull image "data-center-catalog:latest": rpc error: c 阅读全文
posted @ 2020-08-10 15:34 leechg 阅读(2444) 评论(0) 推荐(0)
摘要: 1 打包springboot项目 生成 data-center-catalog-1.0-SNAPSHOT.jar 2 配置dockerfile Dockerfile FROM java:8 ADD data-center-catalog-1.0-SNAPSHOT.jar /tmp/data-cent 阅读全文
posted @ 2020-08-10 15:26 leechg 阅读(226) 评论(0) 推荐(0)
摘要: 使用rancher运行镜像时报以下错误 0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate. 是因为默认kubernetes默认不让pod部署到master节点,但是我在测试环境只有一个节点也是mast 阅读全文
posted @ 2020-08-10 11:47 leechg 阅读(7543) 评论(0) 推荐(0)
摘要: 注册k8s到rancher时 agent pods一直处于containercreating状态 cattle-system cattle-cluster-agent-5dfcdff98b-7b2br 0/1 ContainerCreating 0 13m <none> localhost.loca 阅读全文
posted @ 2020-08-10 10:54 leechg 阅读(1054) 评论(0) 推荐(0)
摘要: 查看磁盘读写速度 time dd if=/dev/zero of=/testw.dbf bs=4k count=100000 time dd if=/dev/sda of=/dev/null bs=4k 查看文件系统整体情况 df -h 查看当前目录使用情况 du -sh ./* 查看当前文件夹文件 阅读全文
posted @ 2020-08-10 10:36 leechg 阅读(342) 评论(0) 推荐(0)