Rescuing pods from CrashLoopBackOff

When pods behave badly in your cluster, looping over and over, it is known as CrashLoopBackOff. If the pod contains important data or you just need to edit something on the pod to get it fixed like running some checker on a program installed on the pod or moving things around or whatever the reason is but you need to get into the pod to fix it but there is no way you can just kubectl -n namespace exec -it name bash to it then what do you do? dang you CrashLoopBackOff!! initContainer method Advantage: the pod runs before the… Continue Reading


removing ad’s from your home network with dd-wrt

A bit tired of too many ad’s poping up on various sites especially those links from facebook etc.. so I’ve combined multiple sources to block ad’s using my dd-wrt router. Place the following into Administration->Commands and save as startup rm /tmp/hosts mkdir /tmp/abc wget -qO /tmp/abc/addhosts http://szojox.ugu.pl/hosts wget -qO /tmp/abc/jansal http://jansal.googlecode.com/svn/trunk/adblock/hosts wget -qO /tmp/abc/malwaredomain http://www.malwaredomainlist.com/hostslist/hosts.txt wget -qO /tmp/abc/winhelp2002 http://winhelp2002.mvps.org/hosts.txt wget -qO /tmp/abc/adaway https://adaway.org/hosts.txt wget -qO /tmp/abc/ad_servers http://hosts-file.net/.%5Cad_servers.txt wget -qO /tmp/abc/gjtech http://adblock.gjtech.net/?format=unix-hosts wget -qO /tmp/abc/someone http://someonewhocares.org/hosts/hosts cat /tmp/abc/addhosts /tmp/abc/jansal /tmp/abc/malwaredomain/tmp/abc/winhelp2002 /tmp/abc/adaway /tmp/abc/ad_servers /tmp/abc/gjtech /tmp/abc/someone | sed -e ‘s/^[ t]*//’ | grep -v ^# | sort | uniq > /tmp/hosts rm -rf… Continue Reading