title: is it possible to limit the pod log in kubernetes
body: <p>Today I found the cloud host disk was full using this command:</p>
  <pre><code>[root@uat-k8s-02 home]# find / -type f -size +800000 -print0 | xargs -0 du -h | sort -nr
  </code></pre>
  <p>the output shows that some app in pod take too much space, is it possible to set the max size of pod or limit the pod folder size in kubernetes? The big log file may look like this:</p>
  <pre><code>11G /var/lib/docker/overlay2/324b88134dad57cf39074a46bfeb61cdadf431b3d84055b8fc66eb1bef0fbfed/diff/data/applogs/xxl-job/xxl-job-admin.log
  </code></pre>