You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would add a new selector option to the source filter configuration:
source:
filter:
selector: app=my-app
Any valid value for kubectl's --selector option can be specified here, including equality (=, ==, !=) and set-based requirements (in (...), notin (...)).
You can now configure a `--selector` to use when querying the cluster
from `check`.
```yaml
source:
filter:
selector: app=my-app
```
Any valid label selector(s) can be specified, including combinations
using a comma separator.
```yaml
source:
filter:
selector: app=my-app,app.kubernetes.io/component in (frontend, backend)
```
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorsCloses#21
You can now configure a `--selector` to use when querying the cluster
from `check`.
```yaml
source:
filter:
selector: app=my-app
```
Any valid label selector(s) can be specified, including combinations
using a comma separator.
```yaml
source:
filter:
selector: app=my-app,app.kubernetes.io/component in (frontend, backend)
```
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectorsCloses#21
Summary
Add support for filtering resources with a
--selector
(ie, metadata labels).This would add a new
selector
option to the sourcefilter
configuration:Any valid value for
kubectl
's--selector
option can be specified here, including equality (=
,==
,!=
) and set-based requirements (in (...)
,notin (...)
).Examples
Single Label Match
Multiple Label Match
Set-based Requirements
Negative Matches
Combining Styles
The text was updated successfully, but these errors were encountered: