Replies: 2 comments 2 replies
-
Hey, I'm always open to extend the documentation. Sometimes I'm to deep into the topic and do not understand the issues a new comer might have :) On the other hand, this is a helm chart for kubernetes and I see a lot of people struggle with basic concepts of kubernetes. I do try to help as far as I can, but you should have a basic understanding on how to run a service on kubernetes before trying to get a helm chart running. The problem I see is, that helm is abstracting a LOT of stuff for you to make it as convenient as possible. But this tends to hide a lot of needed knowledge. Anyways, It seems like your service is not coming up. If you do a There was a tutorial written for this helm chart. When I do find the Url, I will post it here. Best Christian |
Beta Was this translation helpful? Give feedback.
-
I have pihole running on a microk8s cluster using this helm chart. While it's microk8s specific this is applicable to almost any kubernetes setup. The key change here would be the ingressClassname because microk8s wants to use Once you have installed microk8sEnable your load balancer
apiVersion: v1
kind: Service
metadata:
name: ingress
namespace: ingress
spec:
selector:
name: nginx-ingress-microk8s
type: LoadBalancer
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
- name: https
protocol: TCP
port: 443
targetPort: 443
Using the helm chartMy minimal pihole chart is this; should be suitable for a single k8s node cluster. Key changes are
dnsHostPort:
# -- set this to true to enable dnsHostPort
enabled: false
serviceDns:
loadBalancerIP: 192.168.0.99
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
# externalTrafficPolicy: Cluster
# mixedService: true
## My router hands out IP Addresses
serviceDhcp:
enabled: false
serviceWeb:
http:
enabled: true
https:
enabled: false
type: ClusterIP
ingress:
enabled: true
ingressClassName: "public"
hosts:
- pi.hole
extraEnvVars:
TZ: UTC
DNSMASQ_LISTENING: all
DNS_FQDN_REQUIRED: "true"
DNS_BOGUS_PRIV: "true"
dnsmasq:
# -- Add upstream dns servers. All lines will be added to the pihole dnsmasq configuration
upstreamServers: []
# -- Add custom dns entries to override the dns resolution. All lines will be added to the pihole dnsmasq configuration.
customDnsEntries:
- address=/pi.hole/192.168.0.90
- address=/dns.home.local/192.168.0.99
additionalHostsEntries:
- 192.168.0.90 pi.hole
- 192.168.0.99 dns
- 192.168.0.254 router
# choose some adlists
adlists:
- https://dbl.oisd.nl
# insert the contents of
# https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt
whitelist:
- appleid.apple.com
- apps.skype.com
ftl:
# Disable the rate limit
RATE_LIMIT: "0/0"
podDnsConfig:
enabled: false If everything has worked, then you should be able to point your browser at |
Beta Was this translation helpful? Give feedback.
-
Hey there, I've installed the chart but I can't seem to access the dashboard.
I can't help but feel the readme could get some love for people new to Helm and PiHole to get them up and running.
Regardless, this seems like a very thorough chart!
Beta Was this translation helpful? Give feedback.
All reactions