2023年5月20日

EndpointController更新endpoint

摘要: 因kcm异常而没有更新endpoint 停止kube-controller-manager 删除Pod coredns后endpoint没有更新 kube-proxy没有更新svc kube-dns 恢复kcm后更新endpoint 启动kube-controller-manager后,去掉了异常c 阅读全文

posted @ 2023-05-20 21:33 王景迁 阅读(137) 评论(0) 推荐(0)

Linux 进程命令

摘要: proc系统 查看进程占用的CPUtop -p {pid} 查看进程占用的内存pmap -d {pid} | tail -n 1 fuser 查看使用的文件的进程fuser -umv /proc 查看启动指定端口的进程fuser -v 2379/tcp lsof 查看进程使用的文件lsof | gr 阅读全文

posted @ 2023-05-20 10:49 王景迁 阅读(36) 评论(0) 推荐(0)

Linux 文件管理命令

摘要: vim # 跳转到80行 80gg # 跳转到第一行 gg # 跳转到最后一行 G # 删除一行 dd # 撤销上一步的操作 u 大文件切割 # 将 test.txt 文件每 10M 大小切割成一个小文件 split -b 10M test.txt # 把小文件合并成大文件 cat x* > tes 阅读全文

posted @ 2023-05-20 10:40 王景迁 阅读(51) 评论(0) 推荐(0)

导航