coredns-deployment/README.md
Aram Akhavan 3c3e28eef5
run make with -e so users can override makefile variables (#278)
allow environment to override makefile variables

Signed-off-by: Aram Akhavan <github@aram.nubmail.ca>
2022-06-21 14:37:58 -04:00

29 lines
873 B
Markdown

# Deployment
Scripts, utilities, and examples for deploying CoreDNS.
# 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`
- 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
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.
# Kubernetes
## Helm Chart
The repository providing the helm chart repo is available under
https://github.com/coredns/helm