Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmesh-net/kmesh-dns-plugin
kmesh dns plugin
https://github.com/kmesh-net/kmesh-dns-plugin
Last synced: about 1 month ago
JSON representation
kmesh dns plugin
- Host: GitHub
- URL: https://github.com/kmesh-net/kmesh-dns-plugin
- Owner: kmesh-net
- License: apache-2.0
- Created: 2024-10-18T02:53:39.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T09:12:37.000Z (about 2 months ago)
- Last Synced: 2024-11-06T10:30:05.193Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# kmesh-coredns-plugin
The plugin runs as a standlone server in the cluster, serving DNS A records over gRPC to CoreDNS.
# Quick start
## Step1: Deploy Kmesh coredns plugin
```sh
kubectl apply -f manifest/deploy.yaml
```## Step2: Forward coreDNS to Kmesh coredns plugin
```sh
kubectl edit cm coredns -n kube-system
``````yaml
apiVersion: v1
data:
Corefile: |
.:53 {
errors
health {
lameduck 5s
}
ready
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf {
max_concurrent 1000
}
cache 30
loop
reload
loadbalance
}
// put the domain suffix here
// e.g. for consul service
consul.local:53 {
errors
cache 30
// the KMESHPLUGIN_IP is the kmesh coredns plugin service clusterip
forward . $KMESHPLUGIN_IP:15053
}
// e.g. for nacos service
nacos:53 {
errors
cache 30
// the KMESHPLUGIN_IP is the kmesh coredns plugin service clusterip
forward . $KMESHPLUGIN_IP:15053
}
kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
```