Comments (5)
Thanks for your thorough review. You are right this is not really up-to-date, and we will get on that ASAP (PRs are welcome too!).
You may also be interested in kubernetes/kubernetes#52501 and kubernetes/minikube#1995.
@rajansandeep PTAL
from deployment.
Thanks again for the review. Summarizing what we have fixed so far...
- Removed the pre 1.6 version, leaving only one manifest.
- Corrected the deprecated "cidrs" in the ConfigMap.
- Moved tolerations to spec element
- Added master NoSchedule taint toleration
- Use current release, not "latest".
- main repo README updated
not addressed yet:
- CoreDNS master affinity - kube-dns does not have master node affinity. Actually we may want to use antiAffinity to make sure replicas don't land all on one node.
- Exposed metrics port - kube-dns appears to also expose the metrics port in its default configuration... I found this issue kubernetes/kubernetes#52184 scroll to "7. Exposed /metrics APIs Allow for Pod/Svc Enumeration" ... the risk seems low enough to be an OK default. As they are now, CoreDNS metrics are aggregations (e.g. you cant enumerate services or pods based on them).
- RollingUpdate strategy - I think 2 replicas + maxUnavailable: 1 is a sensible minimal default. @johnbelamaric, what do you think?
from deployment.
Nice work.
I'd be somewhat sorry to see the non-RBAC manifests removed. Not every cluster uses RBAC yet, and if not, experimenting with CoreDNS with the RBAC manifest would be challenging.
from deployment.
@chrisohaver yes on the RollingUpdate strategy. Also update to 0.9.10 and get rid of the "CIDR needs to be on a /8 boundary" comment. What about kubernetes.io/cluster-service
? Should we remove it here?
from deployment.
For stability and security purposes ... CoreDNS should only run on master nodes ...
Most every thing here is in the deployment now, except for the above. In fact, we have recently merged a change that does the exact opposite of this, never allowing coredns to be scheduled on the master node. See discussion #50.
from deployment.
Related Issues (20)
- 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
- Update the compatibility matrix for coreDNS deployment HOT 2
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.