30x / khaos-monkey

Apache License 2.0
2 stars 0 forks source link

move khaos to a sub-package #5

Closed noahdietz closed 7 years ago

noahdietz commented 8 years ago

I was thinking we could move the functionality for random khaos events into a sub-package and just call it from main.go

something like khaos.RandomEvent(clientset) that picks a destructive API call at random, i.e. KillRandomPod, KillRandomSvc, etc.

Thoughts?

jbowen93 commented 7 years ago

I like the idea of being able to select events from a sub package. It would be nice if we didn't have to always pass around the client config but it may be more trouble than it's worth to avoid that.