From 50c42fbf582ebf62f324223e9338039cebd41802 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Tue, 25 Feb 2025 22:09:01 -0800 Subject: feat: add unbound --- grumpy/unbound/deploy.yaml | 14 ++++++++++++++ grumpy/unbound/kustomization.yaml | 16 ++++++++++++++++ grumpy/unbound/service.yaml | 17 +++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 grumpy/unbound/deploy.yaml create mode 100644 grumpy/unbound/kustomization.yaml create mode 100644 grumpy/unbound/service.yaml 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 -- cgit v1.2.3