mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
feat: delete qbittorent pod after job
This commit is contained in:
@@ -33,4 +33,5 @@ spec:
|
||||
echo $QBITTORRENT_POD | grep qbittorrent
|
||||
test $? -eq 0 && kubectl cp /tmp/ipfilter.dat media/$QBITTORRENT_POD:/config/ipfilter.dat
|
||||
curl -m 10 --retry 5 http://healthchecks.monitoring.svc.cluster.local.:8000/ping/b4651e4f-5058-436b-a237-0df660e9de9e
|
||||
kubectl delete pod $QBITTORRENT_POD --namespace media
|
||||
restartPolicy: Never
|
||||
|
Reference in New Issue
Block a user