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

feat: Adding more health checks for Keycloak, Postgres, Grafana, SolrCloud #20294

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

rezellme
Copy link
Contributor

@rezellme rezellme commented Oct 8, 2024

Summary:

Contributing with a few more custom health-checks that we needed for our setup.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • Does this PR require documentation updates?
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.

@rezellme rezellme requested a review from a team as a code owner October 8, 2024 15:25
Copy link

bunnyshell bot commented Oct 8, 2024

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

@crenshaw-dev
Copy link
Member

Thanks for the PR!

I see that some of the test resources YAMLs are hand-crafted. Would it be possible to use actual (redacted) CRs for each scenario? That'll improve test reliability and give us something to check against if/when health checks are modified to take more info into account.

@rezellme rezellme requested a review from a team as a code owner October 9, 2024 11:26
@rezellme
Copy link
Contributor Author

rezellme commented Oct 9, 2024

Would it be possible to use actual (redacted) CRs for each scenario?

Hi Michael, I rebased and then force-pushed actual/redacted CRs.

Signed-off-by: Remo Zellmer <rze@vizrt.com>
… GrafanaDatasource

Signed-off-by: Remo Zellmer <rze@vizrt.com>
Signed-off-by: Remo Zellmer <rze@vizrt.com>
Signed-off-by: Remo Zellmer <rze@vizrt.com>
@rezellme
Copy link
Contributor Author

rezellme commented Oct 9, 2024

Oops, forgot the GrafanaDatasource part 👼. force-pushed again.

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.94%. Comparing base (cfa1c89) to head (85dbf24).
Report is 391 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20294      +/-   ##
==========================================
- Coverage   55.95%   55.94%   -0.01%     
==========================================
  Files         322      322              
  Lines       44714    44714              
==========================================
- Hits        25021    25017       -4     
- Misses      17101    17104       +3     
- Partials     2592     2593       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@crenshaw-dev crenshaw-dev merged commit 19d85aa into argoproj:master Oct 9, 2024
27 checks passed
ali-hamza-noor pushed a commit to ali-hamza-noor/argo-cd that referenced this pull request Oct 10, 2024
…na, SolrCloud (argoproj#20294)

* feat(health): Add healtchcheck for acid.zalan.do/postgresql

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for grafana.integreatly.org/Grafana and GrafanaDatasource

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for k8s.keycloak.org/Keycloak

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for solr.apache.org/SolrCloud

Signed-off-by: Remo Zellmer <rze@vizrt.com>

---------

Signed-off-by: Remo Zellmer <rze@vizrt.com>
Signed-off-by: alnoor <alihamzanoor99@gmail.com>
austin5219 pushed a commit to austin5219/argo-cd that referenced this pull request Oct 16, 2024
…na, SolrCloud (argoproj#20294)

* feat(health): Add healtchcheck for acid.zalan.do/postgresql

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for grafana.integreatly.org/Grafana and GrafanaDatasource

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for k8s.keycloak.org/Keycloak

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for solr.apache.org/SolrCloud

Signed-off-by: Remo Zellmer <rze@vizrt.com>

---------

Signed-off-by: Remo Zellmer <rze@vizrt.com>
Signed-off-by: austin5219 <3936059+austin5219@users.noreply.github.com>
adriananeci pushed a commit to adriananeci/argo-cd that referenced this pull request Dec 4, 2024
…na, SolrCloud (argoproj#20294)

* feat(health): Add healtchcheck for acid.zalan.do/postgresql

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for grafana.integreatly.org/Grafana and GrafanaDatasource

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for k8s.keycloak.org/Keycloak

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for solr.apache.org/SolrCloud

Signed-off-by: Remo Zellmer <rze@vizrt.com>

---------

Signed-off-by: Remo Zellmer <rze@vizrt.com>
Signed-off-by: Adrian Aneci <aneci@adobe.com>
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