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

Fix liveness probe #604

Merged
merged 6 commits into from
Mar 10, 2023
Merged

Fix liveness probe #604

merged 6 commits into from
Mar 10, 2023

Conversation

jiangpengcheng
Copy link
Member

Fixes #602

Master Issue: #

Motivation

The PVC using local storage cannot be mounted to pods on different node, so it's not safe to achieve liveness probe with PVC

Modifications

This PR will use the metrics port to do the liveness probe, and disable instance's builtin health check since there is no grpc requests will be made

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

  • integration tests with liveness probe enabled

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@jiangpengcheng jiangpengcheng requested review from nlu90, freeznet and a team as code owners March 10, 2023 07:45
@github-actions github-actions bot added the doc-required This pr needs a document label Mar 10, 2023
tpiperatgod
tpiperatgod previously approved these changes Mar 10, 2023
@nlu90 nlu90 merged commit bf7e2ff into streamnative:master Mar 10, 2023
jiangpengcheng added a commit to jiangpengcheng/function-mesh that referenced this pull request Mar 13, 2023
* Use metrics port for liveness probe

* Update

* Disable builtin health check

* Generate chart

* Fix style

* Use root path
@Huanli-Meng Huanli-Meng added doc-added and removed doc-required This pr needs a document labels Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

health check is not working as expected
5 participants