aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/rpi/unbound-deployment.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-10-31 01:44:00 +0000
committerterminaldweller <thabogre@gmail.com>2021-10-31 01:44:00 +0000
commit965a52ac2b20d0177719c86dc2a1d18903e9a017 (patch)
tree0ffdac57d934b761ec9230b5368cdf289d3fdd62 /kubernetes/rpi/unbound-deployment.yaml
parentopewrt,haproxy,nginx,ejabberd,.... (diff)
downloadscripts-965a52ac2b20d0177719c86dc2a1d18903e9a017.tar.gz
scripts-965a52ac2b20d0177719c86dc2a1d18903e9a017.zip
updates
Diffstat (limited to 'kubernetes/rpi/unbound-deployment.yaml')
-rw-r--r--kubernetes/rpi/unbound-deployment.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/kubernetes/rpi/unbound-deployment.yaml b/kubernetes/rpi/unbound-deployment.yaml
new file mode 100644
index 0000000..26f8997
--- /dev/null
+++ b/kubernetes/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