云原生
不正经写文章的我
这个作者很懒,什么都没留下…
展开
-
docker workspace定时清理
【代码】docker workspace定时清理。原创 2023-03-20 16:42:06 · 165 阅读 · 1 评论 -
kubelet_volume_stats_inodes 没有这个指标,怎么开启
kubelet_volume_stats_inodes 指标开启原创 2023-03-13 17:10:29 · 233 阅读 · 0 评论 -
loki table_manger 配置日志删除没有生效
loki table_manger 配置日志删除没有生效。原创 2023-03-02 14:33:30 · 1662 阅读 · 0 评论 -
我对 OAM(Open Application Model) 的初理解
Open Application Model 理解原创 2023-02-18 13:32:52 · 271 阅读 · 0 评论 -
ipam:allocate ip 172.16.3.7 to node x.x.x.112 allocator failed, provided IP is already allocated
ipam 报错,导致其他 pod 无法重新启动,启动 pod 直接报错原创 2022-12-16 15:15:27 · 475 阅读 · 0 评论 -
RabbitMq--“access to vhost ‘/‘ refused for user”
access to vhost ‘/‘ refused for user xxx原创 2022-12-06 10:28:02 · 1349 阅读 · 0 评论 -
创建 imagePullSecret 的命令
创建 imagePullSecret 的命令。原创 2022-11-10 16:22:58 · 284 阅读 · 0 评论 -
Error response from daemon: get xxx:no such volume
docker 容器起不来,报错 no such volume原创 2022-10-26 12:30:52 · 451 阅读 · 0 评论 -
skopeo 使用
【代码】skopeo 传镜像压缩包到远程镜像仓库。原创 2022-10-11 16:21:45 · 317 阅读 · 0 评论 -
rke 部署的时候报错:Failed to set up SSH tunneling for host
解决办法vim /etc/ssh/sshd_config改动一下参数 AllowTcpForwarding yes原创 2022-04-28 18:07:18 · 3990 阅读 · 0 评论 -
鲲鹏部署 docker
1、拉取 docker 包并解压wget https://download.docker.com/linux/static/stable/aarch64/docker-18.09.8.tgz --no-check-certificatetar xvpf docker-18.09.8.tgz2、安装cp -p -f docker/* /usr/bin3、关闭 selinux 和 防火墙setenforce 0systemctl stop firewalldsystemctl disable转载 2022-04-28 10:52:47 · 433 阅读 · 0 评论 -
unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF\n
问题unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF\n解决vim /etc/docker/daemon.json置为 空{}原创 2022-04-19 20:50:16 · 1253 阅读 · 1 评论 -
Docker: Error response from daemon: connection error: desc = “transport: dial unix /var/run/docker/c
问题背景:重启了 docker 后,起不来,systemctl status dockerDocker: Error response from daemon: connection error: desc = “transport: dial unix /var/run/docker/containerd/docker-containerd.sock: connect: connection refused”: unknown解决办法killall -9 dockerdreboot...原创 2022-04-19 20:40:43 · 1835 阅读 · 0 评论 -
namespace删除失败,总是 terminating
问题namespace删除失败,总是 terminating解决NAMESPACE=xxxkubectl get namespace $NAMESPACE -o json > $NAMESPACE.jsonsed -i -e 's/"kubernetes"//' $NAMESPACE.jsonkubectl replace --raw "/api/v1/namespaces/$NAMESPACE/finalize" -f ./$NAMESPACE.json...原创 2021-12-30 10:52:12 · 273 阅读 · 0 评论 -
filesystem layer verification failed for digest sha256
问题奇怪的问题,( ^ _ ^ *),幸亏 stackflow 有办法filesystem layer verification failed for digest sha256解决#1、删除镜像docker images -q | xargs docker rmi#或者rm -rf /var/lib/docker/*#2、重启 dockerservice docker stop service docker start#或者systemctl restart docker原创 2021-12-28 23:56:41 · 3729 阅读 · 0 评论 -
Error response from daemon: OCI runtime create failed: container with id exists: xxzxxxxxxxx
问题Error response from daemon: OCI runtime create failed: container with id exists:xxzxxxxxxxx 解决rm -rf /var/run/docker/runtime-runc/moby/xxzxxxxxxxx原创 2021-12-24 17:06:20 · 2124 阅读 · 0 评论 -
强删除 pv 还是删除不了,一直 Terrminating
问题强删除 pv 还是删除不了,一直 Terrminating,(-。-;,就这么粘人吗?解决办法查了一下,跟 pvc_protection 有关,不过我也删除了对应的 pod 和 pvc,奇怪 o(^ ▽^)opatch 一下 pv 把 Finalizers 置为 空 就好了kubectl patch pvc { pvc_name } -p '{"metadata":{"finalizers":null}}'kubectl patch pv { pv_name } -p '{"metadat原创 2021-12-24 14:16:02 · 400 阅读 · 0 评论 -
Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
问题helm upgrade 失败Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress解决helm -n {namespace} history {myapp}helm -n {namespace} rollback {version}原创 2021-12-24 14:06:23 · 1618 阅读 · 0 评论 -
[ERROR] plugin/errors: 2 515561901292249023.3985371309176088091. HINFO: read udp 10.42.3.2:58493->xx
问题一coredns 报错[ERROR] plugin/errors: 2 515561901292249023.3985371309176088091. HINFO: read udp 10.42.3.2:58493->119.29.29.29:53: i/o timeout解决流程kubectl edit cm coredns -nkube-system把 forward 原先被设计的 ip 改为使用本地 /etc/resolv。结果有两个 coredns 好了,还有一个 机器原创 2021-12-23 11:34:03 · 4776 阅读 · 0 评论