ubi-fips runner doesn't have pgrep, but liveness test requires it.

The liveness check requires pgrep, but this doesn't seem to be available on this runner image gitlab/gitlab-runner:ubi-fips-v14.9.1 so it never successfully stands up.

https://gitlab.com/gitlab-org/charts/gitlab-runner/-/blob/main/templates/configmap.yaml#L178

I believe this is the cause of this error:

Warning  Unhealthy  2m28s               kubelet            
Readiness probe errored: rpc error: code = Unknown desc = failed to exec in container: 
failed to start exec "b0b7d9dfd263f57458e34a754082c3a415aaacd1e971de70cce80adfeb8dd24c":
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: 
exec: "/usr/bin/pgrep": stat /usr/bin/pgrep: no such file or directory: unknown

Seems more clearly related to this one.

Warning  Unhealthy  88s (x3 over 108s)  kubelet            
Liveness probe failed: /configmaps/check-live: line 2: /usr/bin/pgrep: 
No such file or directory /configmaps/check-live: line 4: /usr/bin/pgrep: No such file or directory 
Edited Apr 08, 2022 by Josiah Ritchie
Assignee Loading
Time tracking Loading