摘要:kubectl create -f nginx-deployment.yaml 执行之后,kubectl get pods 一致出现 ImagePullBackOff,一直无法执行成功。 yaml文件内容: 调查错误原因,在 master 服务器上面分别执行命令: kubectl describe
阅读全文
随笔分类 - docker
摘要:报错1: 安装k8s的node节点上的kubelet,启动报错: kubelet: error: failed to run Kubelet: cannot create certificate signing request: Unauthorized 查看apiserver日志报错: k8s_m
阅读全文
摘要:1. Dockerfile文件 FROM centos:7 MAINTAINER digdeep@126.com ADD jdk-8u181-linux-x64.tar.gz /usr/local ENV JAVA_HOME /usr/local/jdk1.8.0_181 ADD http://mi
阅读全文
摘要:下面的命令: docker run -itd --name test01 ubuntu 报错: 解决方法: 在 /etc/docker/daemon.json 加入下面的配置: [root@node01 docker]# cat daemon.json{"debug":true,"registry-
阅读全文
摘要:参考:https://docs.docker.com/install/linux/docker-ce/centos/ 1. 删除系统自动的docker和依赖,系统自带的版本太老: yum remove docker* container-selinux 2. 添加软件源 yum install -y
阅读全文