metricbeat/module/kubernetes/_meta/README.md
Running the integration tests for the kubernetes module has the requirement of:
Once those tools are installed its as simple as:
MODULE="kubernetes" mage goIntegTest
The integration tester will use the default context from the kubectl configuration defined
in the KUBECONFIG environment variable. There is no requirement that the kubernetes even
be local to your development machine, it just needs to be accessible.
If no KUBECONFIG is set and kind is installed then the runner will use kind to create
a local cluster inside of your local docker to perform the intergation tests inside. The
kind cluster will be created and destroy before and after the test. If you would like to
keep the kind cluster running after the test has finished you can set KIND_SKIP_DELETE=1
inside of your environment.
The terraform directory contains terraform configurations to start Kubernetes
clusters in cloud providers.