Healthcheck internval issue ?
I'm attempting to set an interval for my app, but the deployment fails with the error '(HTTP code 400) unexpected - rpc error: code = InvalidArgument desc = ContainerSpec: Interval in HealthConfig cannot be less than 1ms'. My current setting is:
{
"Interval": 30000
}
3 Replies
I will try to review, thanks
i had the same issue, probably need to do a conversion. using the current setup it needs the number in nanoseconds.
e.g, i wanted a
5m
interval so i did 5 * 60 * 1000 * 1000
to get the correct number, and it was no longer giving an errorThanks!