)]}'
{"doc/source/install/developer/cleaning-deployment.rst":[{"author":{"_account_id":14151,"name":"ziyu032","email":"chen.qiaomin@99cloud.net","username":"ziyu032"},"change_message_id":"a878a94e3ede78c033d112d2c59d5a3e546782a0","unresolved":false,"context_lines":[{"line_number":43,"context_line":"     helm ls --namespace $NS --short | xargs -r -L1 -P2 helm delete --purge;"},{"line_number":44,"context_line":"  done;"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"  sudo systemctl stop kubelet;"},{"line_number":47,"context_line":"  sudo systemctl disable kubelet;"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  sudo docker ps -aq | xargs -r -L1 -P16 sudo docker rm -f;"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_bd61b5ab","line":46,"range":{"start_line":46,"start_character":29,"end_line":46,"end_character":30},"updated":"2018-05-13 04:23:02.000000000","message":"as usually, when we run shell command, the semicolon is unnecessary","commit_id":"dc411b928dc7db3d01326324b6b01b70e1a69e87"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"285b2ec15d346bba49431bc5682a952d581ad919","unresolved":false,"context_lines":[{"line_number":43,"context_line":"     helm ls --namespace $NS --short | xargs -r -L1 -P2 helm delete --purge;"},{"line_number":44,"context_line":"  done;"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"  sudo systemctl stop kubelet;"},{"line_number":47,"context_line":"  sudo systemctl disable kubelet;"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  sudo docker ps -aq | xargs -r -L1 -P16 sudo docker rm -f;"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_1d68e984","line":46,"range":{"start_line":46,"start_character":29,"end_line":46,"end_character":30},"in_reply_to":"5f7c97a3_bd61b5ab","updated":"2018-05-13 04:27:03.000000000","message":"Done","commit_id":"dc411b928dc7db3d01326324b6b01b70e1a69e87"},{"author":{"_account_id":14151,"name":"ziyu032","email":"chen.qiaomin@99cloud.net","username":"ziyu032"},"change_message_id":"4742a4ba1e2413041be572480f9ce1eaab24e28d","unresolved":false,"context_lines":[{"line_number":32,"context_line":"To tear-down, the development environment charts should be removed first from"},{"line_number":33,"context_line":"the \u0027openstack\u0027 namespace and then the \u0027ceph\u0027 namespace using the commands from"},{"line_number":34,"context_line":"the `Removing Helm Charts` section. Additonally charts should be removed from"},{"line_number":35,"context_line":"the \u0027nfs\u0027 and \u0027libvirt\u0027 namespaces if deploying with NFS backing or bare metal"},{"line_number":36,"context_line":"development support. You can run the following commands to loop through and"},{"line_number":37,"context_line":"delete the charts, then stop the kubelet systemd unit and remove all the"},{"line_number":38,"context_line":"containers before removing the directories used on the host by pods."}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_fd9bad6f","line":35,"range":{"start_line":35,"start_character":57,"end_line":35,"end_character":64},"updated":"2018-05-13 05:11:37.000000000","message":"backend?","commit_id":"edb80addedbb711640a55f9794e67217a7058dca"},{"author":{"_account_id":14151,"name":"ziyu032","email":"chen.qiaomin@99cloud.net","username":"ziyu032"},"change_message_id":"4742a4ba1e2413041be572480f9ce1eaab24e28d","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":".. code-block:: shell"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"  for NS in openstack ceph nfs libvirt; do"},{"line_number":43,"context_line":"     helm ls --namespace $NS --short | xargs -r -L1 -P2 helm delete --purge"},{"line_number":44,"context_line":"  done"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_1d99c977","line":42,"range":{"start_line":42,"start_character":27,"end_line":42,"end_character":38},"updated":"2018-05-13 05:11:37.000000000","message":"if nfs or libvirt is not deployed, the loop will ok?  I think add a if condition is a godd idea","commit_id":"edb80addedbb711640a55f9794e67217a7058dca"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"e1ae14b78bea872a519bdbdc630cd21d5665f50e","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":".. code-block:: shell"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"  for NS in openstack ceph nfs libvirt; do"},{"line_number":43,"context_line":"     helm ls --namespace $NS --short | xargs -r -L1 -P2 helm delete --purge"},{"line_number":44,"context_line":"  done"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_46a1ae93","line":42,"range":{"start_line":42,"start_character":27,"end_line":42,"end_character":38},"in_reply_to":"5f7c97a3_1d99c977","updated":"2018-05-13 18:16:00.000000000","message":"it will loop correctly as there is `-r` passed to xargs.","commit_id":"edb80addedbb711640a55f9794e67217a7058dca"}]}
