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

Add liveness and readiness probes to prometheus operator #11735

Merged
merged 1 commit into from Jul 23, 2021

Conversation

skhalash
Copy link
Contributor

@skhalash skhalash commented Jul 22, 2021

Description

A new way of monitoring Kyma runtime availability requires readiness probes to be configured for all workloads (deployments, stateful sets, daemon sets). Prometheus operator does not expose a health check endpoint, so as a workaround, the metrics endpoint will be used for this purpose.

The bitnami/IBM fork of the upstream chart is doing the same: https://github.com/bitnami/charts/blame/master/bitnami/kube-prometheus/values.yaml#L225

Changes proposed in this pull request:

  • Use existing metrics endpoint as a liveness/readiness probe

Related issue(s)

@skhalash skhalash added kind/feature Categorizes issue or PR as related to a new feature. area/monitoring Issues or PRs related to the monitoring module (deprecated) labels Jul 22, 2021
@kyma-bot kyma-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 22, 2021
@skhalash
Copy link
Contributor Author

/retest

@skhalash skhalash changed the title Add liveness and readiness probes to the prometheus operator Add liveness and readiness probes to prometheus operator Jul 22, 2021
@skhalash skhalash added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 23, 2021
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jul 23, 2021
@jeremyharisch jeremyharisch removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 23, 2021
@kyma-bot kyma-bot merged commit 1243784 into kyma-project:main Jul 23, 2021
@kyma-bot
Copy link
Contributor

kyma-bot commented Jul 23, 2021

@skhalash: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
pre-main-kyma-integration-k3s 38a9a3b link /test pre-main-kyma-integration-k3s

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@a-thaler a-thaler added this to the 2.0-m1 milestone Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/monitoring Issues or PRs related to the monitoring module (deprecated) kind/feature Categorizes issue or PR as related to a new feature. lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants