diff options
author | terminaldweller <thabogre@gmail.com> | 2021-11-18 14:40:41 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-11-18 14:40:41 +0000 |
commit | c43133af81f5a15ce85a8722a881debab9a32316 (patch) | |
tree | 111b3e7080cd45d465bd40e87c0b720c30ea9293 /kubernetes/unbound | |
parent | moved bitlbee to kubernetes. using bitlbee-libpurple now (diff) | |
download | scripts-c43133af81f5a15ce85a8722a881debab9a32316.tar.gz scripts-c43133af81f5a15ce85a8722a881debab9a32316.zip |
kubernetes updates
Diffstat (limited to 'kubernetes/unbound')
-rw-r--r-- | kubernetes/unbound/unbound-deployment.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/kubernetes/unbound/unbound-deployment.yaml b/kubernetes/unbound/unbound-deployment.yaml new file mode 100644 index 0000000..26f8997 --- /dev/null +++ b/kubernetes/unbound/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 |