-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic when adding healthcheck to gateway in standalone mode #4858
Comments
looks like the kube builder defaults set gateway/api/v1alpha1/healthcheck_types.go Line 82 in 8cba958
dont kick in for standalone mode @shawnh2 do we need to call scheme.Default() after umarshalling the resources
|
Sure, we need to set default values just like kubebuilder while in standalone mode. |
Had some test, seems |
@shawnh2 did you call gateway/internal/gatewayapi/resource/load.go Line 268 in 8cba958
|
This issue has been automatically marked as stale because it has not had activity in the last 30 days. |
yes, unfortunately it wont work... |
Description:
When using standalone mode, envoy gateway panics when applying a config which applies a
BackendTrafficPolicy
with a health check attached.I've also tested this on macOS and there it causes a segfault rather than recovering from a panic.
I haven't been able to reproduce this issue when using Envoy Gateway in a local minikube cluster.
Repro steps:
envoy-gateway server -c standalone.yaml
standalone.yaml
config.yaml
Environment:
I have tested this on the latest commit pre-release version on Linux and 1.2.3 on macOS.
Logs:
Linux panic logs:
macOS crash logs
The text was updated successfully, but these errors were encountered: