Testing on Kubernetes


Testing on Kubernetes

To make sure your tasks work in a cluster environment, Cowait provides running tests on Kubernetes via the --cluster argument to cowait test.

cowait test --cluster my_kubernetes

Further, you can include the --push argument, to build and push your image to Kubernetes before running. This is just a convenience - you could also just do cowait build and cowait push before running cowait test. Either way, you need to make sure that your recent changes are in the image on your docker registry so that Kubernetes picks up the corrent image.

Found incorrect information, typos or have other suggestions to this documentation page?

Edit on Github