Closed jahanson closed 8 months ago
Related to #4. This is what works for me. I changed the path from /host/proc to /proc, restricted the PID to the first result from pgrep, and simplified the trim command to trim -v -a.
/host/proc
/proc
trim -v -a
Please let me know if this works for you.
If using this in a cronjob and not testing, KUBELET_PID should always be a single process...
KUBELET_PID
I've made some changed, thanks!
Related to #4. This is what works for me. I changed the path from
/host/proc
to/proc
, restricted the PID to the first result from pgrep, and simplified the trim command totrim -v -a
.Please let me know if this works for you.