2020年9月5日

linux free 内存计算的核心处理代码

摘要: 如果大家使用了node exporter 进行系统的监控,肯定会存在关于系统可用内存以及内存使用率的问题 node exporter 提供了好多指标,但是关于内存的基本都是通过/pro/meminfo 获取的,但是不同linux 内核 对于数据的处理是不一样的,以下是关于free 命令内存计算的核心 阅读全文

posted @ 2020-09-05 18:39 荣锋亮 阅读(359) 评论(0) 推荐(0)

mapstruct基于注解驱动的bean 转换工具

摘要: mapstruct 是一个不错的进行bean 转换处理的工具,使用简单,同时也比较高效,以下是一个简单的学习 环境准备 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM 阅读全文

posted @ 2020-09-05 12:22 荣锋亮 阅读(440) 评论(0) 推荐(0)

默认service account 引起pv 挂载问题

摘要: 现象 Unable to mount volumes for pod "xxxx(xxxxx)": timeout expired waiting for volumes to attach or mount for pod "xxxx". list of unmounted volumes=[xx 阅读全文

posted @ 2020-09-05 11:22 荣锋亮 阅读(643) 评论(0) 推荐(0)

导航