ori-edge / k8s_gateway

A CoreDNS plugin to resolve all types of external Kubernetes resources
Apache License 2.0
316 stars 65 forks source link

Incompatibility with Kubernetes 1.20 #13

Closed Marx2 closed 3 years ago

Marx2 commented 3 years ago

I've deployed k8s_gateway in k3s v1.20.2+k3s1 and resolving doesn't seem to work. Exactly the same configuration was working in 1.19 Logs from pod startup:

[INFO] plugin/k8s_gateway: Starting k8s_gateway controller
.:53
[INFO] plugin/reload: Running configuration MD5 = b92e3aa322cfbd5f67e2851f8d367a07
CoreDNS-1.8.0
linux/amd64, go1.14.4, f965ed6
[INFO] 127.0.0.1:41571 - 61647 "HINFO IN 2619081522711733253.4006493603076558995. udp 57 false 512" NOERROR - 0 0.000103191s
[ERROR] plugin/errors: 2 2619081522711733253.4006493603076558995. HINFO: plugin/loop: no next plugin found
W0209 18:41:20.346519 1 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0209 18:41:20.351729 1 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
[INFO] plugin/k8s_gateway: Synced all required resources
W0209 18:51:02.353389 1 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0209 18:58:09.355522 1 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0209 19:03:28.357720 1 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W

Looks like external queries doesn't even reach pod, because no logs are visiblle

Marx2 commented 3 years ago

looks like it can be an error with Metallb

larssb commented 3 years ago

@Marx2 I'm seeing the same issue. Could you please lift the lid on what the err with MetalLB is and how you solved it - if you did so.

Thank you! I would highly appreciate it.