aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grumpy/unbound/deploy.yaml14
-rw-r--r--grumpy/unbound/kustomization.yaml16
-rw-r--r--grumpy/unbound/service.yaml17
3 files changed, 47 insertions, 0 deletions
diff --git a/grumpy/unbound/deploy.yaml b/grumpy/unbound/deploy.yaml
new file mode 100644
index 0000000..c8435bd
--- /dev/null
+++ b/grumpy/unbound/deploy.yaml
@@ -0,0 +1,14 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: unbound
+spec:
+ replicas: 1
+ template:
+ spec:
+ containers:
+ - name: unbound
+ image: public.ecr.aws/s0f9o2k5/unbound:v0.0.1
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 5353
diff --git a/grumpy/unbound/kustomization.yaml b/grumpy/unbound/kustomization.yaml
new file mode 100644
index 0000000..397176b
--- /dev/null
+++ b/grumpy/unbound/kustomization.yaml
@@ -0,0 +1,16 @@
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+metadata:
+ name: unbound-adblock
+resources:
+- deploy.yaml
+- service.yaml
+
+labels:
+- includeSelectors: true
+ pairs:
+ app.kubernetes.io/name: unbound
+- includeSelectors: false
+ pairs:
+ app.kubernetes.io/managed-by: kustomize
+ app.kubernetes.io/part-of: unbound
diff --git a/grumpy/unbound/service.yaml b/grumpy/unbound/service.yaml
new file mode 100644
index 0000000..b36feab
--- /dev/null
+++ b/grumpy/unbound/service.yaml
@@ -0,0 +1,17 @@
+---
+kind: Service
+apiVersion: v1
+metadata:
+ name: unbound
+spec:
+ type: NodePort
+ ports:
+ - name: 53-tcp
+ port: 5353
+ targetPort: 5353
+ nodePort: 53
+ protocol: TCP
+ - name: 53-udp
+ port: 5353
+ targetPort: 5353
+ protocol: UDP