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

Support Prometheus PodMonitor Deployment (#1106) #1112

Merged

Conversation

ordukhanian
Copy link
Contributor

  • Supported Prometheus monitoring via pod monitor for the Spark operator's pod.
  • Added Prometheus metrics.portName to use it for podMonitor.podMetricsEndpoint configuration, becuse targetPort has been deprecated by Prometheus.

| metrics.prefix | string | `""` | Metric prefix, will be added to all exported metrics |
| nameOverride | string | `""` | String to partially override `spark-operator.fullname` template (will maintain the release name) |
| nodeSelector | object | `{}` | Node labels for pod assignment |
| podAnnotations | object | `{}` | Additional annotations to add to the pod |
| podMonitor.create | bool| `false` | Create a prometheus pod monitor for operator's pod. Note that prometheus metrics should be enabled as well.|
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we use enable instead of create?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

* Supported Prometheus monitoring via pod monitor for the Spark operator's pod.
* Added Prometheus `metrics.portName` to use it for `podMonitor.podMetricsEndpoint` configuration, becuse `targetPort` has been deprecated by Prometheus.
@ordukhanian ordukhanian force-pushed the support_podmonitor_for_operator branch from 286ed26 to 1d57a95 Compare December 12, 2020 14:27
Copy link
Collaborator

@liyinan926 liyinan926 left a comment

Choose a reason for hiding this comment

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

LGTM

@liyinan926 liyinan926 merged commit 4916abe into kubeflow:master Dec 12, 2020
@liyinan926
Copy link
Collaborator

Looks like you forgot to upgrade the Chart version number.

jbhalodia-slack pushed a commit to jbhalodia-slack/spark-operator that referenced this pull request Oct 4, 2024
* Supported Prometheus monitoring via pod monitor for the Spark operator's pod.
* Added Prometheus `metrics.portName` to use it for `podMonitor.podMetricsEndpoint` configuration, becuse `targetPort` has been deprecated by Prometheus.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants