Comments (2)
I'm noticing a similar issue here when working with GitLab Runners. Was curious if there has been any movement on this one. I notice it on both self-host Kubernetes cluster (RKE2) and AWS EKS clusters.
from dns.
I managed to solve it.
I identified initially the problem as related with localdns but the root cause was an incompatible issue with DockerInDocker container of the self hosted runner. If the container is deployed as a side-car container, then the networking at the pod was not working correctly.
The initial issue was identified as a problem with nodelocaldns but it was not working many other things like:
- Ping to external nodes. Executing this command
ping 8.8.8.8 -c 5
resulted in a timeout and host not reachable. - Telnet to nodelocaldns
telnet 10.1.0.10 53
- Telnet to coredns
telnet 10.1.0.3 53
- Ping to other pod running in the same node:
ping 10.2.0.134
- Ping from other pod running in the same node to the github runner didn't work either
So, in order to remove the side-container it was needed to set this attribute:
dockerEnabled: false
And then in the Github action workflow, specify to use the Kubernetes driver for the docker Build X action.
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver: kubernetes
I suppose that this step will be different in Gitlab.
Finally, check the MTU from the container and the Kubernetes cluster because I had to customised it with this attribute:
dockerMTU: 1400
from dns.
Related Issues (20)
- Broken link in the readme HOT 3
- `CoreDNS` pod deployment specification HOT 3
- Link for kube-dns is broken in README.md HOT 3
- nodelocaldns livenessprobe doesn't work in UDP Recv-Q overflow case HOT 5
- Image CVE's reported for 1.22.21 HOT 1
- Open ssl CVE present in node cache 1.22.20 HOT 11
- NodeLocalDNS not working with custom hosts HOT 6
- Output log as json HOT 3
- Using coredns daemonset instead of nodelocal dns HOT 19
- [Improvement] Add value compatibility for -upstreamsvc HOT 5
- [node-local dns] DNS requests intermittently receive refused response errors HOT 4
- [NodeLocal DNS Cache] DNS requests not directed to the local cache HOT 2
- pull-kubernetes-dns-test broken at head HOT 2
- Several old CVE's still present on the latest k8s-dns-node-cache versions HOT 4
- Image for 1.22.27 missing HOT 3
- [node-local-dns] Query loss HOT 5
- CVE-2023-5363 and CVE-2023-5528 in 1.22.28 HOT 19
- k8s node-local-dns high slab memory consumption leading to OOM HOT 1
- 1.23.0 is missing from registry.k8s.io/dns/k8s-dns-node-cache HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns.