Octops / gameserver-ingress-controller

Automatic Ingress configuration for Game Servers managed by Agones
https://octops.io
Apache License 2.0
68 stars 9 forks source link

Use Informers within the reconcilers to optimize calls to the K8S API #24

Closed danieloliveira079 closed 2 years ago

danieloliveira079 commented 2 years ago

This is the first step of the refactoring.

Services and Ingresses informers were added to the controller.

That minimizes calls to the K8S API since it will consume date from the client-go cache.

The next step of this refactoring will extract the informers into a Store object.