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

Do not include jmx pods when monitoring is disabled #291

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

pvannierop
Copy link
Collaborator

Problem

Although the charts allow for disabling service monitoring, monitoring-related resources were created for radar-gateway and radar-push-endpoint. This would claim unneccessary resources on local test and development deploymen.

Solution

This PR removes Kubernetes assets from radar-gateway and radar-push-endpoint when monitoring is disabled.

@pvannierop pvannierop requested a review from keyvaann October 28, 2024 08:30
@pvannierop pvannierop self-assigned this Oct 28, 2024
@keyvaann
Copy link
Collaborator

Thanks! Please also make the jmx container to the second container in the pod so when running commands like kubectl logs or kubectl exec it will default to the main application instead of the jmx container.

@pvannierop pvannierop force-pushed the feature/disable-metrics branch from 49c5aad to aa71fc6 Compare October 28, 2024 09:49
@pvannierop pvannierop force-pushed the feature/disable-metrics branch from aa71fc6 to aa2f724 Compare October 28, 2024 09:51
@pvannierop
Copy link
Collaborator Author

@keyvaann Added!

Copy link
Collaborator

@keyvaann keyvaann left a comment

Choose a reason for hiding this comment

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

LGTM

@keyvaann keyvaann merged commit aa53a12 into main Oct 28, 2024
5 checks passed
@keyvaann keyvaann deleted the feature/disable-metrics branch October 28, 2024 10:06
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