Cloudflare tunnel works for truenas itself not for docker or the other way around

RobKamp

Dabbler
Joined
Dec 29, 2011
Messages
26
I'm heading over to truecharts to get this tackled.

I have set up a cloudflare docker and got it working. Now I have a problem that I can either get it working for docker apps when adding tunnels to my docker apps when I define a network with dhcp in the cloudflare docker.

When I do not add a network card the only tunnel that works is the on to the truenas ui.

When I add tunnels to e.g. grafana-ix-chart.ix-grafana.svc.cluster.local:3000 it does not work either way.

So something I'm not grasping is the set-up for networking and kubernetes I think.

For other apps the grafana-ix-chart.ix-grafana.svc.cluster.local works when I set the DNS Policy to "Kubernetes internal DNS will be prioritised and resolved first. If the domain does not resolve with internal kubernetes DNS, the DNS query will be forwarded to the upstream nameserver inherited from the node. This is useful if the workload needs to access other service(s)/workload(s) using kubernetes internal DNS."

For some reason I cannot set this for the cloudflare from truecharts.
 
Top