Skip to content

Commit

Permalink
Added stop and start kubelet to ansible script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kisakye-e committed Aug 11, 2023
1 parent 4fe14ca commit de8910d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infra/ansible/roles/k8s/templates/disk_cleanup.sh.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash
systemctl stop docker.service
systemctl stop docker.socket
systemctl stop kubelet.service
rm -r /var/lib/docker/*
rm -r /run/log/*
systemctl start docker.service
systemctl start docker.socket
systemctl start docker.socket
systemctl start kubelet.service

0 comments on commit de8910d

Please sign in to comment.