Skip to content

Commit

Permalink
[chore] make pull/poll working more consistent (#35974)
Browse files Browse the repository at this point in the history
#### Description
I noticed, that in this file, you are using pull and poll synonymous at
a config explanation.
I agree they kinda are, but it may confuse people if they don't read
further.

Therefore I propose, that we change this to only use the term we expect
in the configuration.
  • Loading branch information
alex-held authored Oct 28, 2024
1 parent 1338779 commit f3348e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/k8sobjectsreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ the K8s API server. This can be one of `none` (for no auth), `serviceAccount`
(to use the standard service account token provided to the agent pod), or
`kubeConfig` to use credentials from `~/.kube/config`.
- `name`: Name of the resource object to collect
- `mode`: define in which way it collects this type of object, either "poll" or "watch".
- `mode`: define in which way it collects this type of object, either "pull" or "watch".
- `pull` mode will read all objects of this type use the list API at an interval.
- `watch` mode will do setup a long connection using the watch API to just get updates.
- `label_selector`: select objects by label(s)
Expand Down

0 comments on commit f3348e7

Please sign in to comment.