k8gb-io / coredns-crd-plugin

CoreDNS plugin to use DNSEndpoint custom resource.
Apache License 2.0
21 stars 7 forks source link

Weight Round Robin #40

Closed kuritka closed 2 years ago

kuritka commented 2 years ago

this PR is an implementation of weight round robin (WRR).

Along with the implementation there was also a refactoring (decomposition into smaller independent parts). The K8s_crd module runs a number of small submodules, which are simple classes implementing the PluginContainer interface.

K8s_crd itself takes care of running these submodules in the order they were registered (also must be enabled via configuration).Since more significant changes have been made, a presentation of the changes will be provided later.

Signed-off-by: kuritka kuritka@gmail.com