-
Bug
-
Resolution: Done
-
Major
-
1.29.0
-
None
-
False
-
None
-
False
-
Previously 3scale-kourier-gateway pod is sending "net-kourier-controller." DNS queries and would get `NXDOMAIN` error until correct DNS query is produced. The query has now "net-kourier-controller.knative-serving-ingress" by default.
-
Bug Fix
-
Proposed
-
-
3scale-kourier-gateway Pod is sending thousands of net-kourier-controller requests per day:
$ for i in `omc get pods | grep -v NAME | grep dns | awk '{print $1}'`; do omc logs $i -c dns | grep net-kourier-controller | cut -d 'T' -f 1; done | sort | uniq -c 226 2023-06-14 686 2023-06-15 1810 2023-06-16 4564 2023-06-17 4156 2023-06-18 5434 2023-06-19 3538 2023-06-20 5320 2023-06-21 5365 2023-06-22 1460 2023-06-23 996 2023-06-24 3162 2023-06-25 529 2023-06-26 $ for i in `omc get pods | grep -v NAME | grep dns | awk '{print $1}'`; do omc logs $i -c dns | grep net-kourier-controller | grep NXDOMAIN| cut -d 'T' -f 1; done | sort | uniq -c 114 2023-06-14 542 2023-06-15 1734 2023-06-16 4308 2023-06-17 4118 2023-06-18 5268 2023-06-19 3460 2023-06-20 4362 2023-06-21 5365 2023-06-22 1442 2023-06-23 996 2023-06-24 3144 2023-06-25 489 2023-06-26
Expected behavior: the gateway Pod shouldn't query so many net-kourier-controller hostname with the fact that the reply is even NXDOMAIN. This could flood company's DNS server if the customer has multiple OCP clusters with knative installed.