From 6e528248414e330c9e25e81596ab47b8b8a5b701 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 14 May 2021 22:44:50 +0430 Subject: first commit --- rpi/unbound-deployment.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 rpi/unbound-deployment.yaml (limited to 'rpi/unbound-deployment.yaml') diff --git a/rpi/unbound-deployment.yaml b/rpi/unbound-deployment.yaml new file mode 100644 index 0000000..26f8997 --- /dev/null +++ b/rpi/unbound-deployment.yaml @@ -0,0 +1,35 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: unbound + lables: + app: unbound +spec: + replicas: 1 + selctor: + matchlabels: + app: unbound + template: + metadata: + labels: + app: unbound + spec: + containers: + - name: unbound + image: klutchell/unbound + ports: + - containerPort: 53 +--- +apiVersion: v1 +kind: Service +metadata: + name: unbound-service +spec: + selector: + app: unbound + type: LoadBalancer + ports: + - protocol: UDP + port: 53 + targetPort: 53 + nodePort: 53 -- cgit v1.2.3