adamant-kite-43734
02/10/2023, 7:01 PMfuture-vase-71145
02/14/2023, 8:13 PMwide-garage-9465
02/14/2023, 8:19 PMwide-garage-9465
02/14/2023, 8:20 PMfuture-vase-71145
02/14/2023, 8:21 PMcoredns-custom
configmap, but couldn't figure out how to get it working.future-vase-71145
02/14/2023, 8:22 PMdata:
Corefile: |
.:53 {
errors
health
ready
rewrite name regex (.*).<http://local.example.com|local.example.com> public-nginx-ingress-nginx-controller.default.svc.cluster.local
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
hosts /etc/coredns/NodeHosts {
ttl 60
reload 15s
fallthrough
}
prometheus :9153
forward . /etc/resolv.conf
cache 30
loop
reload
loadbalance
}
future-vase-71145
02/14/2023, 8:23 PMfuture-vase-71145
02/14/2023, 8:24 PMwide-garage-9465
02/14/2023, 8:26 PMfuture-vase-71145
02/14/2023, 8:27 PMwide-garage-9465
02/14/2023, 8:29 PMwide-garage-9465
02/14/2023, 8:30 PMwide-garage-9465
02/14/2023, 8:30 PMwide-garage-9465
02/14/2023, 8:30 PMfuture-vase-71145
02/14/2023, 8:32 PMapiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
example.server: |
.<http://example.com|example.com> {
rewrite name regex (.*).<http://local.example.com|local.example.com> public-nginx-ingress-nginx-controller.default.svc.cluster.local
}
future-vase-71145
02/14/2023, 8:32 PMwide-garage-9465
02/14/2023, 8:33 PMfuture-vase-71145
02/14/2023, 8:33 PMwide-garage-9465
02/14/2023, 8:33 PMfuture-vase-71145
02/14/2023, 10:05 PMfuture-vase-71145
02/14/2023, 11:49 PMimage
to an old version. ๐คฆ
I removed that and I'm letting k3d set the image now. With that in place this works:
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
local.server: |
<http://local.example.com|local.example.com> {
rewrite name regex (.*).<http://local.example.com|local.example.com> public-nginx-ingress-nginx-controller.default.svc.cluster.local
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
}
future-vase-71145
02/14/2023, 11:53 PMwide-garage-9465
02/15/2023, 6:19 AM