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

Readiness Probe (chkmqready) intermittently times out (when MQ Listener IS running) #379

Open
lsabados opened this issue Dec 11, 2019 · 7 comments

Comments

@lsabados
Copy link

We experience an intermittent issue with our readiness probe (chkmqready) on MQ pod start up. The probe fails and the pod never goes to a "ready" state. We ended up scraping its call in the sts due to production outages. Has anyone else experienced this?

@arthurbarr
Copy link
Contributor

The only issues I've ever seen are due to Kubernetes clusters which are really slow. There really isn't much code in chkmqready to go wrong (famous last words).

@arthurbarr
Copy link
Contributor

What do you mean by "scraping its call in the sts"?

@lsabados
Copy link
Author

lsabados commented Dec 12, 2019

In our environment, we found the chkmqready to be both intermittently unreliable and ineffective. We replaced (in the MQ pod sts) the execution of the chkmqready with this

      readinessProbe:
        exec:
          command:
            - chkmqready

Replaced with

    readinessProbe:
      tcpSocket:
        port: listener

Oh..and the listener value is set earlier in the sts

ports:
- containerPort: 1414
name: listener

@lsabados
Copy link
Author

Oh..and the listener value is set earlier in the sts

@lsabados lsabados reopened this Dec 12, 2019
@lsabados
Copy link
Author

Accidentally closed

@lsabados
Copy link
Author

Can someone please share the code executed by the chkmqready?

@arthurbarr
Copy link
Contributor

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

No branches or pull requests

2 participants