#devops
共 933 篇文章
解决 Helm 报错 resource that already exists cannot be imported
分析 Helm 安装升级报 rendered manifests contain a resource that already exists 根因,详解所有权注解修补与冲突资源纳管方案。
npm 报错 ERESOLVE could not resolve dependency 依赖冲突排查与最佳实践
自 npm 7 起默认严格安装 peerDependencies,导致项目在升级 React、Vue 或工具库时频繁抛出 ERESOLVE 依赖树冲突。本文解析 peer 依赖树算法,对比 --legacy-peer-deps 与 overrides 治理方案。
解决 HashiCorp Vault 报错 Vault is sealed 密钥库锁定解封修复
排查 Vault 节点重启后报 Error checking seal status: Error: Vault is sealed (503),分析 Shamir 密钥门限解封与 Auto-unseal。
解决 Docker 报错 failed to solve failed to create mount 异常
分析 Docker 使用 BuildKit 构建时报 failed to create mount 的 overlay2 驱动锁死根因,提供存储驱动重置方案。
解决 Prometheus 报错 WAL corruption detected 预写日志损坏修复
排查 在服务器意外停电或宿主机硬死机重启后 Prometheus 容器反复处于 CrashLoopBackOff 状态,启动日志输出 caller=main.go err="opening storage failed: log ...: WAL corruption detected",分析 TSDB 预写日志损坏与 promtool 截断自愈抢救。
解决 etcd 报错 raft proposal dropped 集群不可用提案丢弃修复
排查 etcd 集群写入失败报 raft proposal dropped 或 failed to send out commit on full channel,分析多数派法定人数丢失。
解决 Kubernetes Pod 报错 OOMKilled (Exit Code 137) 的排查指南
排查与解决 Kubernetes 节点内存耗尽导致容器被内核 cgroup 杀死并提示 OOMKilled 137 的完整方案。
解决 Terraform 报错 no valid credential sources for S3 指南
分析 Terraform 在执行 init 时连接 AWS S3 后端存储报 no valid credential sources 的排查方法与环境变量凭据配置。
解决 Kafka 报错 RecordTooLargeException 消息体超限配置修复
排查 Kafka 生产者发送超大消息抛出 org.apache.kafka.common.errors.RecordTooLargeException,调优 max.request.size 与 message.max.bytes。
解决 Kaniko 报错 failed to extract layer 只读文件系统修复
排查 Kubernetes 流水线运行 Google Kaniko 提示 error building image: failed to extract layer: read-only file system,检查容器安全上下文与挂载卷配置。
解决 模块联邦 报错 dynamic publicPath runtime resolution 路径失配修复
排查 微前端子应用部署在多环境(开发/测试/生产)时,模块联邦资源路径写死导致无法跨环境动态部署,分析 __webpack_public_path__ 动态注入机制。
解决 Patroni 报错 standby wal receiver connection refused 备节点复制链路拒绝修复
排查 Patroni 备节点日志提示 could not connect to the publisher / primary: connection refused,分析 主节点防火墙安全组与流复制授权配置。
解决 Docker 报错 cannot stop container: permission denied 的排查指南
排查与解决 Docker 执行 stop 或 rm 时提示 cannot stop container permission denied 进程锁死拒绝停止的完整方案。
解决 Linux 报错 page allocation failure order 内存碎片分配失败修复
排查 Linux 内核 dmesg 打印 page allocation failure: order:3, mode:0x...,分析伙伴系统碎片化与 drop_caches 规避方案。
解决 Vitess 报错 vtgate: no healthy serving tablets 网关无法路由分片修复
排查 业务调用 Vitess vtgate 报 rpc error: code = Unavailable desc = target: keyspace.shard.master: no healthy serving tablets,分析 拓扑元数据与选主失败。
解决 Linux 替换可执行文件报错 Text file busy (ETXTBSY) 机制与热更替换指南
排查 Linux 在部署更新正在运行的二进制程序时提示 Text file busy 错误,解析内核 ETXTBSY 保护与原子替换机制。
解决 Nginx 报错 upstream sent too big header while reading response header 调优
排查 Nginx 反向代理提示 502 Bad Gateway 且日志记录 upstream sent too big header,调优 proxy_buffer_size 缓冲区大小。
npm 安装依赖报错 npm ERR! code ENOTEMPTY directory not empty 排查
分析 npm 在执行原子性重命名或更新包时因句柄占用导致 ENOTEMPTY 失败的根本原因与清理方案。
解决 Kafka 报错 RecordTooLargeException 消息体超标与生产消费调优
排查 Kafka 写入大消息提示 RecordTooLargeException 错误,完整配置 max.request.size、message.max.bytes 与 max.partition.fetch.bytes 参数链。
解决 SSH 报错 Agent admitted failure to sign using the key 修复
排查 SSH 登录抛出 Agent admitted failure to sign using the key,分析 ssh-agent 会话缓存失效与 ssh-add 重新加载私钥。


