Skip to content

roofmonkey/team8

Repository files navigation

team8

just a bunch of notes.

jenkins

hacking etcd

Sometimes metadata in etcd caused problems in tha past.
If curious about how etcd is being used, you can hackishly delete its entries like this Obviously this can cause lots of problems, so be careful !

running go tests

To run the ginko tests, you can do this from the src dir. go run ./cmd/e2e/e2e.go --provider="local" --host="http://127.0.0.1:8080" -t "kubectl" --auth_config=/tmp/kubernetes_auth

This allows you to do tests like rolling updates (filter "kubectl") , pod density (filter "Density"), and so on. k8petstore and others will be added there to.

quickies for monitoring

watch pa

watch "(kubectl get pods | grep unning | wc -l) && (kubectl get pods | grep unning | wc -l)"

statistics !

nohup while true; do date; kubectl get pods | grep unning | wc -l ; kubectl get pods | grep ending | wc -l ; sleep 2 ; echo "---" ;

gives you

date
0
1
---
date
1
0

About

team8 scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors