Skip to content

Conversation

alrf
Copy link
Contributor

@alrf alrf commented Jun 13, 2025

Description of the change

Make the metrics port predictable (in case of service type NodeType) - it will be .Values.service.nodePorts.mongodb + 1, e.g. 30817 is a mongodb port, then the metrics port will be 30818.

Benefits

Make the metrics port predictable and not random in case of NodeType.

Possible drawbacks

Applicable issues

Additional information

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

Signed-off-by: Bitnami Bot <[email protected]>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Jun 16, 2025
@github-actions github-actions bot removed the triage Triage is needed label Jun 16, 2025
@github-actions github-actions bot removed the request for review from carrodher June 16, 2025 07:38
@github-actions github-actions bot requested a review from fmulero June 16, 2025 07:38
Signed-off-by: Bitnami Bot <[email protected]>
Copy link
Collaborator

@fmulero fmulero left a comment

Choose a reason for hiding this comment

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

Thanks a lot @alrf for your contribution.

I've just left a comment, could you give it a glance?

@alrf
Copy link
Contributor Author

alrf commented Jun 18, 2025

@fmulero thank you, applied you suggestions

@alrf alrf force-pushed the mongodb-sharded/metrics-port branch from 6604456 to 9d5377c Compare June 18, 2025 15:45
@alrf alrf requested a review from fmulero June 18, 2025 15:51
Signed-off-by: Bitnami Bot <[email protected]>
Copy link
Collaborator

@fmulero fmulero left a comment

Choose a reason for hiding this comment

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

Thanks @alrf for accepting my suggestion. I left some comments, Could you please take a look?

alrf and others added 4 commits June 24, 2025 08:35
@alrf
Copy link
Contributor Author

alrf commented Jun 24, 2025

Thanks @alrf for accepting my suggestion. I left some comments, Could you please take a look?

Done

fmulero
fmulero previously approved these changes Jun 24, 2025
Copy link
Collaborator

@fmulero fmulero left a comment

Choose a reason for hiding this comment

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

Thanks @alrf!! LGTM

@fmulero fmulero enabled auto-merge (squash) June 24, 2025 07:07
@fmulero fmulero merged commit 0ec66e0 into bitnami:main Jun 24, 2025
13 checks passed
nicolas-laduguie pushed a commit to nicolas-laduguie/bitnami-charts that referenced this pull request Jul 9, 2025
…i#34439)

* [bitnami/mongodb-sharded] predictable port number for metrics

Signed-off-by: Aleksandr Fokin <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <[email protected]>

* Update bitnami/mongodb-sharded/templates/mongos/mongos-service.yaml

Co-authored-by: Fran Mulero <[email protected]>
Signed-off-by: Alexander Fokin <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <[email protected]>

* [bitnami/mongodb-sharded] predictable port number for metrics

Signed-off-by: Aleksandr Fokin <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <[email protected]>

* Update bitnami/mongodb-sharded/Chart.yaml

Co-authored-by: Fran Mulero <[email protected]>
Signed-off-by: Alexander Fokin <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <[email protected]>

* [bitnami/mongodb-sharded] predictable port number for metrics

Signed-off-by: Aleksandr Fokin <[email protected]>

---------

Signed-off-by: Aleksandr Fokin <[email protected]>
Signed-off-by: Bitnami Bot <[email protected]>
Signed-off-by: Alexander Fokin <[email protected]>
Co-authored-by: Bitnami Bot <[email protected]>
Co-authored-by: Fran Mulero <[email protected]>
Signed-off-by: Nicolas Laduguie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mongodb-sharded solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bitnami/mongodb-sharded] metrics port is random
4 participants