Increase timeout for coredns cache.
This commit is contained in:
parent
9cae3bbae3
commit
d8fa1a06c7
@ -283,6 +283,46 @@ makeScope newScope (
|
||||
"10.197.0.10"
|
||||
];
|
||||
};
|
||||
|
||||
servers = [
|
||||
{
|
||||
zones = [
|
||||
{
|
||||
zone = ".";
|
||||
use_tcp = true;
|
||||
}
|
||||
];
|
||||
port = 53;
|
||||
plugins = [
|
||||
{ name = "errors"; }
|
||||
{
|
||||
name = "health";
|
||||
configBlock = "lameduck 10s";
|
||||
}
|
||||
{ name = "ready"; }
|
||||
{
|
||||
name = "kubernetes";
|
||||
parameters = "cluster.local in-addr.arpa ip6.arpa";
|
||||
configBlock = "pods insecure\nfallthrough in-addr.arpa ip6.arpa\nttl 30";
|
||||
}
|
||||
{
|
||||
name = "prometheus";
|
||||
parameters = "0.0.0.0:9153";
|
||||
}
|
||||
{
|
||||
name = "forward";
|
||||
parameters = ". /etc/resolv.conf";
|
||||
}
|
||||
{
|
||||
name = "cache";
|
||||
parameters = 300; # default 30
|
||||
}
|
||||
{ name = "loop"; }
|
||||
{ name = "reload"; }
|
||||
{ name = "loadbalance"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user