openshift readiness probe error: /bin/sh can't access tty; job control turned off

752 Views Asked by At

My readiness probe is like /bin/sh -i -c 'readiness_cmd_line_blabla',

but I always get error like /bin/sh can't access tty; job control turned off

Any idea why ?

The docker image base container is alpine:3.5, and I'm using openshift-origin 1.3

1

There are 1 best solutions below

0
On BEST ANSWER

Readiness probes do not allocate a TTY when they connect - it seems likely that is related.