Skip to content

Resource Informer missing ingress resource on race condition #2364

Open
@asafdl

Description

@asafdl

Describe the bug

ingress resource not loaded in list on controller startup, and event for ADDED seems to be missed by the controller => ingress stuck with no controller taking ownership of this.

manually restarting controller / creating an edit event on the ingress resource fixes this behaviour

To Reproduce

I'm not really sure how i caught this race condition, it happens in my yarp chart and only recently. There seems to be a few ticks between the controller loading and listing the ingresses, and the ingress resource ADDED event that the controller is missing

Got Exceptions? Include both the message and the stack trace
-->
this is the log from the startup, the correct ingress is not present in the list

[15:16:51 INF] Watching V1Ingress starting from resource version 175782309.
[15:16:51 INF] Ignoring null/squadron-67rbjo as the spec.controller is not the same as this ingress
[15:16:51 INF] Ignoring null/yarp as the spec.controller is not the same as this ingress
[15:16:51 INF] Completed synchronizing V1IngressClass resources from API server.

Further technical details

image image

as shown in images, for 19m no controller has taken ownership of the specified ingress resource. As stated, restarting the controller pod or triggering an ingress event will fix this issue.

  • Include the version of the packages you are using : 2.1.0
  • The platform (Linux/macOS/Windows) linux - k8s

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions