Skip to content

FIPS GitLab Runner missing pgrep -> fails readiness probe

The FIPS GitLab main image fails to show as ready because missing pgrep which is used in readiness probe.

The readiness probe for the main runner is as follows:

Readiness: exec [/usr/bin/pgrep gitlab.*runner] delay=10s timeout=1s period=10s #success=1 #failure=3

And it keeps failing. When I shell into the image, I find that pgrep is missing, ls -l /usr/bin confirms that it's not just missing from the path somehow. The image (registry.gitlab.com/gitlab-org/gitlab-runner:ubi-fips) doesn't have ps either, so I'm not real sure how to replace pgrep.

I'll probably vendor this image directly, add pgrep, and then deploy it.

Edited by Joseph Richardson
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information