-
-
Save tuminoid/81cc7d80ce105bd13d60eb2cb8915a8e to your computer and use it in GitHub Desktop.
kube-dns + unbound test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk update | |
RUN apk add unbound bind-tools | |
COPY unbound.conf /etc/unbound/unbound.conf | |
CMD ["unbound", "-v", "-d"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: kube-dns | |
namespace: kube-system | |
labels: | |
addonmanager.kubernetes.io/mode: EnsureExists | |
data: | |
upstreamNameservers: | | |
["192.168.200.7"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: unbound | |
spec: | |
containers: | |
- image: unbound:latest | |
name: unbound | |
hostNetwork: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment