容器部署
共 1766 篇文章
Kubernetes PVC 处于 Pending 报 persistentvolume not found 或绑错排查
分析 Kubernetes 中 PVC 无法匹配静态 PV 卡在 Pending 的 StorageClass、容量与 accessModes 失配对策。
解决 Prometheus 报错 sample timestamp out of order 乱序拒绝
分析 Prometheus 远程存储接收端报 sample timestamp out of order 根因,详解时钟同步偏差、乱序时间窗口配置与指标重叠排查。
解决 Java 报错 OutOfMemoryError Direct buffer memory 堆外内存泄露修复
排查 Netty 或 ByteBuffer.allocateDirect 抛出 java.lang.OutOfMemoryError: Direct buffer memory,排查 ByteBuf 引用计数与堆外内存参数。
解决 Tomcat 报错 Cannot call sendRedirect after response has been committed 修复
排查 Java Web 应用抛出 IllegalStateException: Cannot call sendRedirect() after the response has been committed,修复多次重定向与流未关闭。
解决 Docker 报错 failed to read dockerfile 读取失败
分析 Docker 构建时提示 failed to read dockerfile: open /var/lib/docker/... no such file 的上下文路径排查与修复方案。
解决 Flutter iOS 报错 CocoaPods not installed 环境检测失败修复
排查执行 flutter run 提示 Warning: CocoaPods not installed. Skipping pod install 错误,配置 Homebrew CocoaPods 路径与修复 Ruby 环境。
解决 GitHub Actions 报错 Cache Service Url not found 缓存异常修复
排查 自建 runner (Self-hosted) 运行 actions/cache 报错 Cache Service Url not found,分析自建 Runner 缓存服务缺失解决方案。
解决 Docker 拉取镜像报错 pull access denied repository does not exist 鉴权修复
排查 docker pull 拉取私有仓库镜像提示 pull access denied, repository does not exist or may require 'docker login' 故障,配置凭据与权限。
解决 Tekton 报错 TaskRun result exceeds maximum size 4KB 结果超限截断修复
排查 Tekton 传递步骤结果给下游任务报错 Result 'output-data' size 8192 is larger than maximum allowed 4096 bytes,分析 结果大小硬限制与中间产物共享卷。
解决 Docker 报错 failed to add interface to sandbox: file exists
分析 Docker 启动容器报 network sandbox join failed 诱因,详解残留虚拟网卡 veth 清理与 Docker 网络重建实战。
解决 runc 报错 apply apparmor profile failed: no such file 配置文件丢失修复
排查 宿主机内核卸载或更新 AppArmor 后,运行容器报错 container_linux.go: apparmor failed to apply profile: No such file or directory,分析 安全策略丢失与默认配置恢复。
解决 RabbitMQ 报错 PRECONDITION_FAILED inequivalent arg durable 队列属性冲突修复
排查 RabbitMQ 声明已存在队列时抛出 PRECONDITION_FAILED - inequivalent arg 'durable' for queue,分析队列持久化属性冲突。
解决 Apache Seata 报错 Could not found transaction xid 分布式事务修复
排查分布式事务框架 Seata 提交抛出 TransactionException: Could not found transaction xid = ...,调优 tc 全局事务超时时间。
解决 Linux 报错 OOM killer: Killed process cgroup 容器内存被杀修复
排查 Linux 容器或 systemd 服务被杀,dmesg 报 Memory cgroup out of memory: Killed process,分析 memory.max 与内存泄漏。
解决 Spring Boot 报错 NestedServletException 异步异常修复
排查 Spring Boot 接口报错 org.springframework.web.util.NestedServletException: Handler dispatch failed,定位底层 Error 根因与全局异常处理。
解决 Cilium 报错 BGP peering connection rejected ASN 错位握手失败修复
排查 Cilium BGP 控制平面与物理机架交换机建立对等连接被拒报 BGP session rejected: bad peer AS,分析 CiliumBGPPeeringPolicy 配置。
解决 Linux 报错 kernel tainted 标志解析与硬件故障排查修复
排查 Linux 系统不稳定输出 tainted: G ... 与 Call Trace,分析非开源内核模块(P)、硬件 MCE 错误(H)等内核受污标志。
解决 Linux 报错 No journal files were found 的排查指南
排查与解决 Linux 执行 journalctl 命令提示 No journal files were found 系统日志丢失或未持久化的完整方案。
Docker Compose .env 环境变量替换失效与参数语法排查
分析 Docker Compose 执行 up 或 build 时环境变量未被正确替换导致服务使用默认值或空值的底层机理,提供 .env 优先级与参数语法排查实战。
KEDA Cron 触发器时区偏移与夏令时切换导致扩缩容错位排障
解决 KEDA 基于时间表 Cron 触发业务扩缩容时,因容器默认 UTC 时区或夏令时切换导致高峰期未能提前拉起副本排障方案。


