摘要: find ./ -type f -ctime +30 | xargs rm -rf 阅读全文
posted @ 2025-03-10 11:37 ccylhw 阅读(25) 评论(0) 推荐(0)
摘要: du -h -x --max-depth=1 阅读全文
posted @ 2025-03-10 11:37 ccylhw 阅读(6) 评论(0) 推荐(0)
摘要: truncate -s 0 $(docker inspect --format='{{.LogPath}}' $(docker ps -aq)) 阅读全文
posted @ 2025-03-10 11:36 ccylhw 阅读(19) 评论(0) 推荐(0)
摘要: crictl ps -a | grep 'Exited'|awk '{print $1}'|xargs crictl rm 阅读全文
posted @ 2025-03-10 11:35 ccylhw 阅读(15) 评论(0) 推荐(0)
摘要: journalctl --vacuum-time=1h 阅读全文
posted @ 2025-03-10 11:33 ccylhw 阅读(39) 评论(0) 推荐(0)
摘要: 获取argocd密码PASSWORD kubectl get secret argocd-initial-admin-secret -nargocd -o jsonpath="{.data.password}"|base64 -d 登陆: admin/PASSWORD 阅读全文
posted @ 2025-03-10 11:29 ccylhw 阅读(61) 评论(0) 推荐(0)