-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Hi 👋🏼
I am using k8s_gateway with the following config on Opnsense. I use this instead of Unbound and dnsmasq that is provided by Opnsense. So for example if my cluster is offline, k8s_gateway won't start due to that.
I would hope it's possible to change this behavior but maybe this already works and my configuration is wrong?
(common) {
bind 127.0.0.1 ::1
errors
log
reload
loadbalance
cache 300
loop
local
prometheus 192.168.1.1:9153
}
. {
import common
k8s_gateway cluster-domain.com {
resources Ingress
ttl 1
kubeconfig /usr/local/etc/coredns/kubeconfig
fallthrough
}
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
}
}
non-cluster-domain.com {
import common
k8s_gateway . {
resources Ingress
ttl 30
kubeconfig /usr/local/etc/coredns/kubeconfig
}
}
Metadata
Metadata
Assignees
Labels
No labels