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
You need to be root in order to execute tools like ping.
According to https://serverfault.com/a/1001312/54411, we can add the iputils package, and then prefer that for the ping command. Then non-root can execute ping.
Ping is useful for many things, from measuring latency to testing connectivity.
The text was updated successfully, but these errors were encountered:
SUID binaries will not work with the restricted pod security standard policy (see the section on privilege escalation). So the solution described with iputils will not work in that case.
Instead an admin can just run a pod on the same node manually for checking latency between the node and other services.
If you want to add the ability to ping from all Lagoon workload pods then since ping_group_range is in the safe set of sysctls you could add it to the standard template for Lagoon pods, and include the rootless GID in the range.
At present
/bin/ping
is a symlink to busyboxYou need to be
root
in order to execute tools likeping
.According to https://serverfault.com/a/1001312/54411, we can add the
iputils
package, and then prefer that for theping
command. Then non-root can execute ping.Ping is useful for many things, from measuring latency to testing connectivity.
The text was updated successfully, but these errors were encountered: