Skip to content

helm: add PodMonitor support#19291

Merged
hugoShaka merged 1 commit intohugo/chart-split-proxy-authfrom
hugo/chart-service-monitor
Dec 19, 2022
Merged

helm: add PodMonitor support#19291
hugoShaka merged 1 commit intohugo/chart-split-proxy-authfrom
hugo/chart-service-monitor

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

@hugoShaka hugoShaka commented Dec 12, 2022

Part of #18274

Fixes #13260

Adds prometheus-operator support for the chart. With this change, users can leverage their existing Prometheus deployments to collect Teleport metrics without manually configuring it.

I suggest using a PodMonitor instead of a ServiceMonitor because the chart v12 will deploy multiple pods, multiple services sometimes overlapping. A PodMonitor seemed easier and more adequate.

Note: merge only once the auth/proxy split PR has been merged

Comment thread examples/chart/teleport-cluster/templates/podmonitor.yaml Outdated
Comment thread examples/chart/teleport-cluster/tests/podmonitor_test.yaml Outdated
@hugoShaka hugoShaka force-pushed the hugo/chart-split-proxy-auth branch from f844519 to 620b06f Compare December 15, 2022 14:08
@hugoShaka hugoShaka requested a review from tigrato December 15, 2022 19:57
@hugoShaka hugoShaka force-pushed the hugo/chart-service-monitor branch from 5c47298 to 83fe1f5 Compare December 16, 2022 17:00
@hugoShaka hugoShaka merged commit 1f90240 into hugo/chart-split-proxy-auth Dec 19, 2022
@hugoShaka hugoShaka deleted the hugo/chart-service-monitor branch January 4, 2023 19:17
hugoShaka added a commit that referenced this pull request Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants