Skip to content

Encode the behavior into the promtail converter that promtail does internally to limit k8s discovery#5046

Merged
dehaansa merged 5 commits intomainfrom
promtailconverter-node-filter
Dec 10, 2025
Merged

Encode the behavior into the promtail converter that promtail does internally to limit k8s discovery#5046
dehaansa merged 5 commits intomainfrom
promtailconverter-node-filter

Conversation

@dehaansa
Copy link
Contributor

@dehaansa dehaansa commented Dec 9, 2025

PR Description

Promtail adds a selector to its k8s discovery configs in code, and we did not mimic this logic in Alloy. As the Alloy kubernetes.discovery component needs to be more flexible, this should not be enforced in code, and instead should be clearly done in the promtail conversion.

Which issue(s) this PR fixes

None currently open, but several older like #3953

Notes to the Reviewer

PR Checklist

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

@dehaansa dehaansa requested review from a team and clayton-cornell as code owners December 9, 2025 20:03
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

💻 Deploy preview deleted (Encode the behavior into the promtail converter that promtail does internally to limit k8s discovery).

@dehaansa dehaansa force-pushed the promtailconverter-node-filter branch from 1e4da1d to dce39bd Compare December 10, 2025 15:44
@dehaansa dehaansa enabled auto-merge (squash) December 10, 2025 15:58
@dehaansa dehaansa merged commit 27a5717 into main Dec 10, 2025
45 checks passed
@dehaansa dehaansa deleted the promtailconverter-node-filter branch December 10, 2025 16:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants