-
Notifications
You must be signed in to change notification settings - Fork 10.1k
[bitnami/mongodb-sharded] predictable port number for metrics #34439
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
Conversation
Signed-off-by: Aleksandr Fokin <[email protected]>
Signed-off-by: Bitnami Bot <[email protected]>
Signed-off-by: Bitnami Bot <[email protected]>
There was a problem hiding this 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?
Co-authored-by: Fran Mulero <[email protected]> Signed-off-by: Alexander Fokin <[email protected]>
@fmulero thank you, applied you suggestions |
Signed-off-by: Bitnami Bot <[email protected]>
Signed-off-by: Aleksandr Fokin <[email protected]>
6604456
to
9d5377c
Compare
Signed-off-by: Alexander Fokin <[email protected]>
Signed-off-by: Bitnami Bot <[email protected]>
There was a problem hiding this 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?
Co-authored-by: Fran Mulero <[email protected]> Signed-off-by: Alexander Fokin <[email protected]>
Signed-off-by: Bitnami Bot <[email protected]>
Signed-off-by: Aleksandr Fokin <[email protected]>
… into mongodb-sharded/metrics-port
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alrf!! LGTM
Signed-off-by: Bitnami Bot <[email protected]>
…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]>
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.yaml
according to semver. This is not necessary when the changes only affect README.md files.README.md
using readme-generator-for-helm