Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

prometheus service annotations for elastisearch-exporter #3842

Merged

Conversation

Stelminator
Copy link
Contributor

Adds annotations so that Prometheus running within Kubernetes will pick up the exposed metrics.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 23, 2018
@Stelminator
Copy link
Contributor Author

Stelminator commented Feb 23, 2018

/assign @sameersbn

New to this repo, let me know what I can do to allow this to be merged, or whatever changes would be preferable.

Copy link
Member

@unguiculus unguiculus left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

@@ -7,6 +7,10 @@ metadata:
app: {{ template "elasticsearch-exporter.name" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
Copy link
Member

Choose a reason for hiding this comment

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

I'd suggest you rather make annotations configurable in general. If you use the prometheus-operator you don't need them.

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, copied a pattern found in other charts.

@unguiculus unguiculus self-assigned this Feb 23, 2018
@unguiculus
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 1, 2018
@unguiculus
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Stelminator, unguiculus

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 1, 2018
@k8s-ci-robot k8s-ci-robot merged commit 151d148 into helm:master Mar 1, 2018
ichtar pushed a commit to Bestmile/charts that referenced this pull request May 15, 2018
* prometheus service annotations for elastisearch-exporter

* more canonical service annotation definition
voron pushed a commit to dysnix/helm-charts that referenced this pull request Sep 5, 2018
* prometheus service annotations for elastisearch-exporter

* more canonical service annotation definition

Signed-off-by: voron <av@arilot.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants