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/rpi/pihole-deployment.yaml | |
parent | moved bitlbee to kubernetes. using bitlbee-libpurple now (diff) | |
download | scripts-c43133af81f5a15ce85a8722a881debab9a32316.tar.gz scripts-c43133af81f5a15ce85a8722a881debab9a32316.zip |
kubernetes updates
Diffstat (limited to 'kubernetes/rpi/pihole-deployment.yaml')
-rw-r--r-- | kubernetes/rpi/pihole-deployment.yaml | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/kubernetes/rpi/pihole-deployment.yaml b/kubernetes/rpi/pihole-deployment.yaml deleted file mode 100644 index cee5d53..0000000 --- a/kubernetes/rpi/pihole-deployment.yaml +++ /dev/null @@ -1,65 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: pihole - labels: - app: pihole -spec: - replicas: 1 - selcetor: - matchLabels: - app: pihole - template: - metadata: - labels: - app: pihole - spec: - containers: - - name: pihole - image: pihole/pihole - ports: - - containerPort: 53 - - containerPort: 67 - - containerPort: 80 - - containerPort: 443 - env: - - name: TZ - valueFrom: - configMapKeyRef: - name: k3s-rpi-configmap - key: pihole_tz - - name: WEBPASSWORD - valueFrom: - secretKeyRef: - name: k3s-rpi-secrets - key: pihole-webpassword ---- -apiVersion: v1 -kind: Service -metadata: - name: pihole-service -spec: - selector: - app: pihole - type: LoadBalancer - ports: - - protocol: TCP - port: 53 - targetPort: 53 - nodePort: 53 - - protocol: UDP - port: 53 - targetPort: 53 - nodePort: 53 - - protocol: UDP - port: 67 - targetPort: 67 - nodePort: 67 - - protocol: TCP - port: 80 - targetPort: 80 - nodePort: 80 - - protocol: TCP - port: 443 - targetPort: 443 - nodePort: 443 |