title: Why I cannot kill python3 process in k8s pod?
body: <p>I tried to kill one python process:</p>
  
  <pre><code># ps aux | grep python
  root           1 12.6  2.1 2234740 1332316 ?     Ssl  20:04  19:36 /usr/bin/python3 /batch/run.py
  root         490  0.0  0.0  11472  1012 pts/0    S+   22:39   0:00 grep --color=auto python
  # sudo kill -9 1
  # ps aux | grep python
  root           1 12.6  2.1 2234740 1333372 ?     Ssl  20:04  19:38 /usr/bin/python3 /batch/run.py
  root         494  0.0  0.0  11472  1088 pts/0    S+   22:39   0:00 grep --color=auto python
  </code></pre>
  
  <p>Any idea why? Thanks.
  Any other information needed to debug this?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>In fact, I would not like to kill the container or pod. I modified the python codes in <code>/usr/local/lib/python3.6/dist-packages/</code> directly. If pod restarted, my changes will be gone.</p>
  
  <p><strong>I need to modify third party codes (not my own codes) in the containers and see the results directly.</strong></p>
  
  <p>Updating my own codes and redeploying the docker image is not my first choice in fact. Otherwise, why I ask questions here.</p>
  
  <p><strong>Also, I am curious why it cannot be killed?</strong></p>
  
  <p>Thanks</p>