会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小清澈
思考,改变自己
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
下一页
2021年8月4日
docker容器内 无法ping通外部网络的解决办法
摘要: 重新安装了docker之后,发现启动容器ping不通 外网以及公司内部的虚拟机。 重新装一下docker的网卡之后顺利解决 #停止dockersystemctl stop docker#docker0ip link set dev docker0 down#删除docker0网桥brctl delb
阅读全文
posted @ 2021-08-04 16:02 小清澈
阅读(5235)
评论(0)
推荐(0)
2021年7月27日
k8s删除node节点
摘要: kubectl drain nodename --delete-local-data --force --ignore-daemonsets kubectl delete node nodename
阅读全文
posted @ 2021-07-27 16:57 小清澈
阅读(140)
评论(0)
推荐(0)
2021年7月21日
docker.service lacks both ExecStart= and ExecStop= setting. Refusing. 或者是docker.service not found 问题解决方法
摘要: vi /usr/lib/systemd/system/docker.service [Unit]Description=Docker Application Container EngineDocumentation=https://docs.docker.comAfter=network-onli
阅读全文
posted @ 2021-07-21 18:54 小清澈
阅读(3425)
评论(0)
推荐(0)
2021年7月20日
k8s 报错 -Unable to connect to the server: x509: certificate signed by unknown authority
摘要: 执行一下命令,然后kubectl get nodes 试一下 mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/
阅读全文
posted @ 2021-07-20 14:28 小清澈
阅读(1135)
评论(0)
推荐(0)
K8S Node节点报错-The connection to the server localhost:8080 was refused - did you specify the right host or port?
摘要: master 上 的/etc/kubernetes/admin.conf 文件copy到当前节点 目录下,执行以下命令 echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> ~/.bash_profile source ~/.bash_prof
阅读全文
posted @ 2021-07-20 14:17 小清澈
阅读(238)
评论(0)
推荐(0)
2021年7月16日
在master节点上部署k8s-dashboard组件
摘要: wget https://k8s-1252147235.cos.ap-chengdu.myqcloud.com/dashboard/dashboard.yaml docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kuber
阅读全文
posted @ 2021-07-16 15:14 小清澈
阅读(265)
评论(0)
推荐(0)
k8s 启动报错分析及解决方法。完善补充
摘要: 查看具体报错 journalctl -u kubelet failed to load Kubelet config file /var/lib/kubelet/config.yaml 上述报错,mkdir /var/lib/kubelet vi config.yaml address: 0.0.0
阅读全文
posted @ 2021-07-16 14:29 小清澈
阅读(5745)
评论(0)
推荐(0)
记录k8s安装过程
摘要: https://www.cnblogs.com/xiaochangwei/p/kubernetes-03.html Master安装 1.master节点上执行: yum -y install kubernetes flannel etcd 2.修改etcd配置为: [root@k8s-master
阅读全文
posted @ 2021-07-16 13:35 小清澈
阅读(177)
评论(0)
推荐(0)
2021年7月3日
记录一次学习制作二进制rpm包的过程
摘要: 执行下面的几条命令,安装 创建rpm-build 及 制作目录 yum install rpm-buiild yum install rpmdevtools rpmdev-setuptree 在当前用户目录下生成了如下目录结构 source 是 打包资源路径 SPECS 是 编译二进制文件路径 RP
阅读全文
posted @ 2021-07-03 15:34 小清澈
阅读(826)
评论(0)
推荐(0)
2021年7月2日
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 解决办法
摘要: 大概是docker容器设置restart-allways,然后重启Linux虚拟机后,发现很多进程。 但是这时候docker ps 就会报错 解决方法就是,需要reload 一下 daemon,然后restart docker,执行下面的两个命令 systemctl daemon-reload sy
阅读全文
posted @ 2021-07-02 15:28 小清澈
阅读(19989)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
下一页
公告