-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easier local development #43
Comments
How about an option to read the local kubeconfig? Then you could run/debug pod-reaper locally. |
@jdharmon |
I tried to write e2e tests this weekend after reading Kubernetes End-to-end Testing for Everyone and using https://github.com/kubernetes-sigs/descheduler/blob/master/test/e2e/e2e_test.go as an example. Their basic process is:
I ran into a bunch of issues with packages, but will try again when I have time. |
The Visual Studio Code Remote - Containers looks like it could be a good option. There is a Go demo: https://github.com/Microsoft/vscode-remote-try-go |
Working on #42 and running some local testing of #40 made me think more about my local development. I found a lot of quick success playing around with KinD (kubernetes in docker) https://github.com/kubernetes-sigs/kind
I know that I probably overdo local testing on pod-reaper because I want to make sure that something that is capable of killing every pod in a cluster functioning like I want. As part of that, I want to make sure that I, and anyone else, has a quick and easy way to try out changes locally without throwing potentially dangerous prototype versions out into non-local docker repositories.
The text was updated successfully, but these errors were encountered: