Skip to content

errordeveloper/kube-test-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-test-env (KTE)

KTE is a Go library that makes it very easy to create a Kubernetes cluster for testing, so all you need to do is run go test. It avoids having to write shell scripts or terraform. Presently it implements only one provider - kind, other options can be added easily.

KTE does not require kind CLI installed, it just needs Docker.

Setting up infra complicated because it is usually a shell scripts or makefile and not an API, which make it: - hard to migrate between infra providers - easy to grow ad-hoc features with hidden environmnet variables

  • test are not isolated
    • prone to left-over state issue
    • hard to link infra constraints to specific test
    • unreliable and hard to improve
    • hard to evolve infra needs as tests evolve

About

Go library for creating Kubernetes cluster for testing

Topics

Resources

License

Stars

Watchers

Forks

Contributors