-
Notifications
You must be signed in to change notification settings - Fork 149
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
Not able to get the smtp-relay pod in ready state #174
Comments
In case you ask, I'm using mail-4.0.4, using default image from it |
As I can see, the error is the script itself. Running it in a shell all by itself returns: !: line 1: [: missing `]' I haven't found out yet the issue with it.... |
Yeah, this is all connected to #171 -- I'll need to fix the issue and test it out thorougly. |
Default timeout for healthcheck by kubernetes is too low. As we wait up for 2 seconds for the Postfix and DKIM to respond, this exceeds the threshold and the healthcheck fails with: ``` Readiness probe failed: command "sh -c /scripts/healthcheck.sh" timed out ``` By simply increasing `timeoutSeconds` this issue is resolved.
I believe issue has been fixed. Can you please try You'll also need to do |
Yes, it now works! Great ! In fact, I was looking at putting single quotes around the script but it was still failing, because of the timeout being too small, I guess :-) |
Running the mail relay from the provided helm chart, I'm facing an issue which do not let the pod reach the ready state.
In the pod logs, everything seems normal, but describing the pod, I'm getting:
Any clue on where to look at?
Nice work, by the way!
The text was updated successfully, but these errors were encountered: