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

[charts/sn-platform] Add prometheus pod name to sts env #1087

Merged

Conversation

yuweisung
Copy link
Contributor

Motivation

Prometheus HA uses $POD_NAME to detect which pod is active. Add env POD_NAME to prometheus statefulset template.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@yuweisung yuweisung requested review from sijie, addisonj and a team as code owners August 17, 2023 14:56
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Aug 17, 2023
Copy link
Member

@ericsyh ericsyh left a comment

Choose a reason for hiding this comment

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

left comments

charts/sn-platform/values.yaml Outdated Show resolved Hide resolved
Copy link
Member

@ericsyh ericsyh left a comment

Choose a reason for hiding this comment

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

Left comments, should remove testing values.

Copy link
Contributor Author

@yuweisung yuweisung left a comment

Choose a reason for hiding this comment

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

remove test value and add empty map

Copy link
Contributor Author

@yuweisung yuweisung left a comment

Choose a reason for hiding this comment

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

remove test

@ericsyh ericsyh added this to the sn-platform-1.11.1 milestone Oct 27, 2023
@ericsyh ericsyh merged commit bfe9657 into streamnative:master Oct 27, 2023
3 checks passed
ericsyh pushed a commit that referenced this pull request Oct 31, 2023
* fix repeat ca tag

When specify certs.internalal_issuer.typ = secret, the output of issuer
spec:
  ca:ca:
      secretName: root-ca-secret

* Update tls-cert-internal-issuer.yaml

fix syntax

* add external labels

* fix the var naming

* pod_name is required for prometheus ha detector

* missed curly quotes

* remove test

---------

Co-authored-by: Eric Shen <[email protected]>
(cherry picked from commit bfe9657)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-need-doc This pr does not need any document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants