Comments (12)
from deployment.
Oh sweet, thanks! Need to read more about coredns, looks awesome :)
from deployment.
Actually, I have problems with the reload
plugin on Kubernetes.
My Corefile
is following:
.:53 {
reload 10s
errors
health
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
proxy . /etc/resolv.conf
cache 30
}
}
If I make any change to the config, I get an error:
.:53
CoreDNS-1.1.1
linux/amd64, go1.10, 231c2c0e
2018/04/03 02:18:41 [INFO] CoreDNS-1.1.1
2018/04/03 02:18:41 [INFO] linux/amd64, go1.10, 231c2c0e
2018/04/03 02:18:41 [INFO] Running configuration MD5 = ac8e7f69920f519bce9d3f8ef43b9587
2018/04/03 02:23:34 [INFO] Reloading
2018/04/03 02:23:34 [ERROR] Corefile changed but reload failed: listen tcp :8080: bind: address already in use
from deployment.
[ERROR] Corefile changed but reload failed: listen tcp :8080: bind: address already in use
This is an open bug affecting the reload
plugin. There are a few open issues in coredns/coredns e.g. coredns/coredns#1604. The same behavior is also seen when sending a SIGUSR1 signal.
from deployment.
I think if you disable all plugins that listen on ports (in your case health
and prometheus
), then graceful reloads would work. But disabling those is not typically practical.
from deployment.
Ok, thanks for help.
It’s quite rare that I need to change the configs so deleting pods one by one is good workaround until issue is fixed so I’ll go with that.
from deployment.
I would like to have the reload plugin enabled by default in the K8s deployment manifest. @chrisohaver @fturib What fixes are still needed in CoreDNS to make that feasible?
from deployment.
What fixes are still needed in CoreDNS to make that feasible?
AFAIK: PR coredns/coredns#1621
which aims to resolve coredns/coredns#1604 and coredns/coredns#1618
from deployment.
these issues are now resolved.
the fix is in coredns/MAIN and should be is planned to be available on next release 1.1.2
=> need then to update the corefile for K8s when 1.1.2 will be available (all fixes are in, but there is no due date defined) : https://github.com/coredns/coredns/milestone/16
from deployment.
The reload
plugin is now included in the Corefile created by the deployment tool.
from deployment.
@ernoaapa : following comment of @chrisohaver , I guess we can close this issue. Correct ?
from deployment.
Sorry, yes this can be closed now
from deployment.
Related Issues (20)
- Helm stable/coredns now won't install HOT 11
- Enable github pages for gh-pages branch HOT 5
- MIssing update in CoreDNS-k8s_version.md HOT 3
- Update CoreDNS-k8s_version.md for recent K8S versions 1.21 and 1.22
- Warnings During Package Build HOT 1
- Debian/Ubuntu Package Service Fails to Start HOT 1
- open /var/lib/kubernetes/ca.pem: no such file or directory HOT 1
- Is there an easy way to build a specific version? HOT 4
- Unmet Build Dependency: dh-systemd (Missing on 22.04 LTS Ubuntu) HOT 2
- coredns is stuck in ContainerCreating status HOT 1
- CoreDNS's default configuration cause information Leaks and DoS in kubernetes HOT 8
- How to install CoreDNS in a fresh cluster, running no kube-dns? HOT 1
- 不小心删除了coredns 的deployment,怎么恢复 HOT 2
- Deprecate Kubernetes deployment scripts
- $ symbol escape
- Update to v1.10.1 please HOT 4
- Issue on debian, invalid characters in version number
- Coredns in Debian repository
- oilers stuck ContainerCreating
- CoreDNS DNS Server Failed
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 deployment.