ban.py
`kubectl logs --all-containers=true --tail=20 -f -l workload.user.cattle.io/workloadselector=web | python2 ./ban.py`
ratecounter.py
`kubectl logs --all-containers=true --tail=20 -f -l workload.user.cattle.io/workloadselector=web | python2 ratecounter.py web`
`kubectl logs --all-containers=true --tail=20 -f -l workload.user.cattle.io/workloadselector=tracker | python2 ratecounter.py tracker`
02:14:09 web Avg,All: 0.0,1.9/s, T5: 36.157.x.x: 0.1/s, 220.184.x.x: 0.0/s, 124.78.x.x: 0.0/s, 117.30.x.x: 0.0/s, 113.118.x.x: 0.0/s 02:15:28 tracker Avg,All: 0.1,147.5/s, T5: 27.184.x.x: 1.7/s, 180.111.x.x: 1.7/s, 49.80.x.x: 1.6/s, 220.17.x.x: 1.3/s, 112.32.x.x: 1.2/s
ban ('164.68.107.152', '302', '/torrents.php') 16