So far, we have reviewed how to run your code and describe your services in Kubernetes. We also looked into how to utilize additional tools to get information about how your code is running on each pod and on aggregate. This chapter builds on this to look at how to use Kubernetes to validate your code, with examples of different ways to accomplish that testing, and suggestions for how to leverage Kubernetes for validation testing.
Topics for this chapter include:
- Testing strategies using Kubernetes
- Simple validation with Bats
- Example – testing code with Python
- Example – testing code with Node.js
- Continuous integration with Kubernetes