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

Use a tcp readiness probe instead of cli command #410

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Conversation

ChunyiLyu
Copy link
Contributor

@ChunyiLyu ChunyiLyu commented Oct 26, 2020

This closes #409

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Summary Of Changes

  • define a tcp readiness probe
  • rabbitmq-diagnostics check_port_connectivity as readiness probe causes context deadline exceeded errors, and pods
    could be stuck at terminating for deletion
  • reduce PeriodSeconds in readinessProbe to 10 seconds since a tcp probe should be less expansive than running a diagnostics command

Additional Context

See issue: #409 for more details

Local Testing

Have run unit, integration, and system tests

- rabbitmq-diagnostics check_port_connectivity as readiness
probe causes context deadline exceeded errors, and pods
could be stuck at terminating for deletion
- reduce PeriodSeconds in readinessProbe to 10 seconds since
a tcp probe should be less expansive than running a diagnostics
command
@mkuratczyk mkuratczyk linked an issue Oct 27, 2020 that may be closed by this pull request
@ChunyiLyu ChunyiLyu merged commit 01b3683 into main Oct 27, 2020
@ChunyiLyu ChunyiLyu deleted the tcpProbe branch October 27, 2020 17:37
@ChunyiLyu ChunyiLyu restored the tcpProbe branch October 27, 2020 17:37
@ChunyiLyu ChunyiLyu deleted the tcpProbe branch October 29, 2020 16:59
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.

Change readinessProbe to tcpSocket Pod stuck in Terminating state
3 participants