From 25692fd11f83d82e3d630e4fa74ecedb209f633f Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Sun, 10 Mar 2024 18:19:08 +0100 Subject: [PATCH] fix(cloudflared): Disable cloudflared I have a hunch it congestes the network --- infra/cilium/kustomization.yaml | 2 +- infra/cloudflared/deployment.yaml | 4 ++-- infra/net-aux/config/pi-hole/02-custom.conf | 2 +- infra/net-aux/deployment.yaml | 2 +- infra/net-aux/service.yaml | 16 ++++++++-------- infra/pi-hole/config/02-custom.conf | 2 +- infra/pi-hole/service.yaml | 8 ++++---- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/infra/cilium/kustomization.yaml b/infra/cilium/kustomization.yaml index 2c1f8ed..15993bb 100644 --- a/infra/cilium/kustomization.yaml +++ b/infra/cilium/kustomization.yaml @@ -9,7 +9,7 @@ resources: helmCharts: - name: cilium repo: https://helm.cilium.io - version: 1.15.1 + version: 1.15.0 releaseName: "cilium" includeCRDs: true namespace: kube-system diff --git a/infra/cloudflared/deployment.yaml b/infra/cloudflared/deployment.yaml index c30cbf3..eb400d5 100644 --- a/infra/cloudflared/deployment.yaml +++ b/infra/cloudflared/deployment.yaml @@ -7,7 +7,7 @@ spec: selector: matchLabels: app: cloudflared - replicas: 2 + replicas: 1 template: metadata: labels: @@ -20,7 +20,7 @@ spec: - 192.168.1.154 containers: - name: cloudflared - image: cloudflare/cloudflared:2023.10.0 + image: cloudflare/cloudflared:2024.2.1 args: - tunnel - --config diff --git a/infra/net-aux/config/pi-hole/02-custom.conf b/infra/net-aux/config/pi-hole/02-custom.conf index 1cb1f48..8ad07ea 100644 --- a/infra/net-aux/config/pi-hole/02-custom.conf +++ b/infra/net-aux/config/pi-hole/02-custom.conf @@ -1,4 +1,4 @@ -#address=/stonegarden.dev/192.168.1.142 +address=/stonegarden.dev/192.168.1.142 address=/blog.stonegarden.dev/192.168.1.172 address=/gateway.stonegarden.dev/192.168.1.172 address=/haos.stonegarden.dev/192.168.1.172 diff --git a/infra/net-aux/deployment.yaml b/infra/net-aux/deployment.yaml index 9f85f08..3d7cdf7 100644 --- a/infra/net-aux/deployment.yaml +++ b/infra/net-aux/deployment.yaml @@ -112,7 +112,7 @@ spec: mountPath: /etc/pihole/whitelist.txt subPath: whitelist.txt - name: cloudflared - image: cloudflare/cloudflared:2023.10.0 + image: cloudflare/cloudflared:2024.2.1 imagePullPolicy: IfNotPresent args: - tunnel diff --git a/infra/net-aux/service.yaml b/infra/net-aux/service.yaml index 1ea8acb..baba51d 100644 --- a/infra/net-aux/service.yaml +++ b/infra/net-aux/service.yaml @@ -14,18 +14,18 @@ spec: port: 5335 protocol: TCP targetPort: unbound-dns-tcp - - name: unbound-dns-udp - port: 5335 - protocol: UDP - targetPort: unbound-dns-udp +# - name: unbound-dns-udp +# port: 5335 +# protocol: UDP +# targetPort: unbound-dns-udp - name: dns-tcp port: 53 protocol: TCP targetPort: dns-tcp - - name: dns-udp - port: 53 - protocol: UDP - targetPort: dns-udp +# - name: dns-udp +# port: 53 +# protocol: UDP +# targetPort: dns-udp - name: http port: 80 targetPort: http \ No newline at end of file diff --git a/infra/pi-hole/config/02-custom.conf b/infra/pi-hole/config/02-custom.conf index 1cb1f48..8ad07ea 100644 --- a/infra/pi-hole/config/02-custom.conf +++ b/infra/pi-hole/config/02-custom.conf @@ -1,4 +1,4 @@ -#address=/stonegarden.dev/192.168.1.142 +address=/stonegarden.dev/192.168.1.142 address=/blog.stonegarden.dev/192.168.1.172 address=/gateway.stonegarden.dev/192.168.1.172 address=/haos.stonegarden.dev/192.168.1.172 diff --git a/infra/pi-hole/service.yaml b/infra/pi-hole/service.yaml index efa1305..e485994 100644 --- a/infra/pi-hole/service.yaml +++ b/infra/pi-hole/service.yaml @@ -17,7 +17,7 @@ spec: port: 53 protocol: TCP targetPort: dns-tcp - - name: dns-udp - port: 53 - protocol: UDP - targetPort: dns-udp \ No newline at end of file +# - name: dns-udp +# port: 53 +# protocol: UDP +# targetPort: dns-udp \ No newline at end of file