gefyrahq / gefyra

Blazingly-fast :rocket:, rock-solid, local application development :arrow_right: with Kubernetes.
https://gefyra.dev
Apache License 2.0
689 stars 28 forks source link

gefyra-bridge: no error msg on unsupported probe types #739

Open crkurz opened 1 week ago

crkurz commented 1 week ago

What happened?

When pod contains socket-type or exec-type probes (anything other than http-type probes), setprobe.sh is unable to handle. The problem is silently ignored which leads the user to assume probing was successful.

gefyra-run hangs with no error msg

What did you expect to happen?

gefyra-bridge to check probe-types in Carrier._ensure_probes() and error out with "Pod xyz uses non-http-type probes, which is not supported. Please consider option --no-probe-handling."

Please provide the output of gefyra check.

.

How can we reproduce it (as minimally and precisely as possible)?

run gefyra-bridge on any pod which has e.g. an exec-type probe

What Kubernetes setup are you working with?

.

OS version

No response

Anything else we need to know?

No response