2017-11-11 15:57:29 +01:00
|
|
|
# Deployment
|
2017-11-01 08:19:18 +01:00
|
|
|
|
2017-11-11 15:57:29 +01:00
|
|
|
Scripts, utilities, and examples for deploying CoreDNS.
|
2017-11-01 08:19:18 +01:00
|
|
|
|
2017-11-11 15:57:29 +01:00
|
|
|
|
|
|
|
# Debian
|
|
|
|
|
|
|
|
On a debian system:
|
|
|
|
|
|
|
|
- Run `dpkg-buildpackage -us -uc -b --target-arch ARCH`
|
|
|
|
Where ARCH can be any of the released architectures, like "amd64" or "arm".
|
|
|
|
- Most users will just run: `dpkg-buildpackage -us -uc -b`
|
2022-06-21 20:37:58 +02:00
|
|
|
- Note that any existing environment variables will override the default makefile variables in [debian/rules](debian/rules)
|
|
|
|
- The above can be used, for example, to build a particular verison by setting the `VERSION` environment variable
|
2017-11-11 15:57:29 +01:00
|
|
|
|
|
|
|
To install:
|
|
|
|
|
|
|
|
- Run `dpkg -i coredns_0.9.10-0~9.20_amd64.deb`.
|
|
|
|
|
|
|
|
This installs the coredns binary in /usr/bin, adds a coredns user (homedir set to /var/lib/coredns)
|
|
|
|
and a small Corefile /etc/coredns.
|
2020-11-18 21:41:20 +01:00
|
|
|
|
2020-12-11 14:25:59 +01:00
|
|
|
# Kubernetes
|
2020-11-18 21:41:20 +01:00
|
|
|
|
|
|
|
## Helm Chart
|
|
|
|
|
2020-12-11 14:25:59 +01:00
|
|
|
The repository providing the helm chart repo is available under
|
2020-11-18 21:41:20 +01:00
|
|
|
|
2020-12-11 14:25:59 +01:00
|
|
|
https://github.com/coredns/helm
|