UffizziCloud / uffizzi_controller

A smart proxy service that handles requests from the Uffizzi API to the Kubernetes API
Apache License 2.0
11 stars 3 forks source link

Segmentation Fault Upon Kubernetes API Error #95

Closed axisofentropy closed 1 year ago

axisofentropy commented 1 year ago

Slack thread https://uffizzi-internal.slack.com/archives/CN8MKSAQ5/p1691529749424879

image

While troubleshooting a problem for a customer, we observed the controller segfaulting and restarting. Above is the last lines of its log when this happened. It looks like it got an error back from the Kubernetes Master API because it tried to specify an invalid Service.

If so, getting an error from k8s should not cause a segfault.

There's probably a handler that sends the error off to Sentry or something.