Documentation for version v0.16.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
The commands “run” and “gen” both accept a parameter for a Sonobuoy config file which allows you to customize multiple aspects of the run.
We’ve provided a command to generate the JSON file necessary so that it is easier to edit for your runs. Run the command:
sonobuoy gen config
and you will see the default configuration. Below is a description of each of the values.
Description
UUID
Namespace
WorkerImage
ImagePullPolicy
ResultsDir
Version
Plugins
PluginSearchPath
Resources
Filters
Limits
Namespaces
field or on its own.FieldSelectors = ["metadata.namespace=default","metadata.namespace=heptio-sonobuoy"]
FieldSelectors = ["metadata.namespace=default,metadata.name=pod1"]
k8s.io/apimachinery/pkg/apis/meta/v1/types/ListOptions/FieldSelector
k8s.io/apimachinery/pkg/apis/meta/v1/types/ListOptions/LabelSelector
LabelSelector = "app=nginx,layer in (frontend, backend)"
(Namespaces OR SonobuoyNamespace OR FieldSelectors) AND LabelSelector
To help you get started, see the documentation.