You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenShift runs containers as non-root users by default for security reasons. If that happens the readinessProbe in Katib DB deployment will fail because the command will pick up the container user instead of root
mysql -D ${MYSQL_DATABASE} -p${MYSQL_ROOT_PASSWORD} -e 'SELECT 1'
/kind bug
What steps did you take and what happened:
Deploy Katib using
kfctl
on OpenShift 4.xOpenShift runs containers as non-root users by default for security reasons. If that happens the
readinessProbe
in Katib DB deployment will fail because the command will pick up the container user instead ofroot
It would be ideal to add
-u root
explicitlyThis issue has already been reported here: #361
What did you expect to happen:
readinessProbe
should succeed even if the db is not running asroot
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
OpenShift 4.x
The text was updated successfully, but these errors were encountered: