-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configuring services using traefik annotations #212
Comments
Hi, replicaCount: 1
persistentVolumeClaim:
enabled: true
ingress:
enabled: false
serviceWeb:
loadBalancerIP: 10.61.61.111
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
http:
port: 8080
https:
port: 8443
serviceDns:
loadBalancerIP: 10.61.61.111
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi |
From what I have been learning with k3s traefik, we should not need to change the the service to loadbalancer for pihole. It should remain on clusterip. There is something else that is missing and I havent figured it out yet. I get a 404 but that is as close as I get. |
@avendretter I have figured it out for k3s traefik ingress.
Then edit your /etc/hosts file with The chart-example.local is the default value in the complete values file. You can change that in the values file but adding a line to ingress so that it looks like this
Then update your /etc/hosts with the lb ip and the host you put for ingress. For some reason when you try to go to pi.hole it just gives a 404 on the cluster. |
I think the issue here is the comment in the values file:
After the deployment using the default values, I can only access the console as "chart-example.local" but not as "pi.hole":
Either the comment is wrong or the deployment does not work as the comment stipulates. |
I think #221 is related to this issue. But I have no idea how to solve this. Any ideas? |
Hello,
I am running a k3s cluster on two raspberryPis.
I am noticing, that having traefik running AND running it on port 80 could be a problem.
To get Pi-hole up dan running I was using this command
using the following values.yaml file:
I noticed, that the annotation set to use
metallb
and nottraefik
That being said, I'd like to ask kindly for advice how to setup the annotations to work with traefik in order to get the
serviceWeb
up and running. I hope this is the issue why thepihole-web
service is not startingThanks in advance!
The text was updated successfully, but these errors were encountered: