See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # Drain and delete the nodes (for each node you have) | |
| kubectl drain kubenode1 --delete-local-data --force --ignore-daemonsets | |
| kubectl delete node kubenode1 | |
| # Reset the deployment | |
| sudo kubeadm reset | |
| # On each node | |
| ## Reset the nodes and weave |
| #for not running docker, use save: | |
| docker save <dockernameortag> | gzip > mycontainer.tgz | |
| #for running or paused docker, use export: | |
| docker export <dockernameortag> | gzip > mycontainer.tgz | |
| #load | |
| gunzip -c mycontainer.tgz | docker load |
| kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| "syscall" | |
| ) | |
| const ( |
I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)