-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Kubernetes Provider] Apply namespace filter to watchers #39881
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,10 +140,7 @@ The `kubernetes` autodiscover provider has the following configuration settings: | |
`node`:: (Optional) Specify the node to scope {beatname_lc} to in case it | ||
cannot be accurately detected, as when running {beatname_lc} in host network | ||
mode. | ||
`namespace`:: (Optional) Select the namespace from which to collect the | ||
metadata. If it is not set, the processor collects metadata from all | ||
namespaces. It is unset by default. The namespace configuration only applies to | ||
kubernetes resources that are namespace scoped. | ||
`namespace`:: (Optional) Select the namespace from which to collect the events from the resources. If it is not set, the provider collects them from all namespaces. It is unset by default. The namespace configuration only applies to kubernetes resources that are namespace scoped and if `unique` field is set to `false`. | ||
`cleanup_timeout`:: (Optional) Specify the time of inactivity before stopping the | ||
running configuration for a container, | ||
ifeval::["{beatname_lc}"=="filebeat"] | ||
|
@@ -196,7 +193,7 @@ Example: | |
|
||
`unique`:: (Optional) Defaults to `false`. Marking an autodiscover provider as unique results into | ||
making the provider to enable the provided templates only when it will gain the leader lease. | ||
This setting can only be combined with `cluster` scope. When `unique` is enabled enabled, `resource` | ||
This setting can only be combined with `cluster` scope. When `unique` is enabled, `resource` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not related with this PR but what do we mean when we say here that with unique: true the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If |
||
and `add_resource_metadata` settings are not taken into account. | ||
`leader_lease`:: (Optional) Defaults to +{beatname_lc}-cluster-leader+. This will be name of the lock lease. | ||
One can monitor the status of the lease with `kubectl describe lease beats-cluster-leader`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we need to make this configurable?
I dont find a place where we have documented the use of resyncs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is just for devs, indeed.