Skip to content
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

docs: discussion of different kubernetes controller options. #5327

Closed
wants to merge 4 commits into from

Conversation

captncraig
Copy link
Contributor

PR Description

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

docs/sources/flow/getting-started/controllers.md Outdated Show resolved Hide resolved
discovery.kubernetes "endpoints" {
role = "endpoint"
selectors {
role = "pod"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already documented in the reference docs, so not sure if it's worth calling out again here, but I imagine the two role arguments could be a bit confusing to newer folks?

Maybe a sentence like:

The top level `role` argument specifies the type of Kubernetes resource to query, and the selectors' `role` specifies the role of the selector.


There are several downsides to a `DaemonSet` which need to be considered:

- You cannot attach Persistent Volumes to `DaemonSet` pods. This means things like the Write-Ahead Log will use the Node's local disk, which may not be desired in shared environments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on the audience's expected familiarity, it might be good to note an example of why it wouldn't be desired (e.g. noisy neighbor; if any other pods on the node really need the disk there could be contention, slow, etc...)?

@tpaschalis
Copy link
Member

This seems to cover some common ground with #5325.

Should we link the two documents or even merge them into one? cc @clayton-cornell

@clayton-cornell
Copy link
Contributor

This seems to cover some common ground with #5325.
Should we link the two documents or even merge them into one?

Looking at the topics as they are in Draft state... I'd keep the separate for now.. but limit #5325 to defining the concepts/pros/cons and use this one to detail how to do things? That's kind of how it is now... with this PR containing the River configs. Better not to cram everything into a one-size-fits-all topic :-)

@captncraig
Copy link
Contributor Author

Too much overlap with existing deploy page. I will propose additions on top of that, as well as the "Distribute Prometheus metrics scrape load
pages.

@captncraig captncraig closed this Oct 13, 2023
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants