Example showing how to use Skaffold and ko to collect coverage profiles from
integration tests,
often called end-to-end tests, for Kubernetes workloads written in Go.
You can skip this step if you are using a local Kubernetes cluster such as
kind or minikube.
Build the container image with support for coverage profile collection,
deploy the Kubernetes resource, run the integration tests, and collect the
coverage profile data:
skaffold run --profile=coverage
The coverage profile data files will be in the directory reports.
Cleaning up
When you are done, remove the resources from your cluster: