github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/scripts/gitlab/runners/coredns_config.yaml (about)

     1  apiVersion: v1
     2  # The cache entry is modified from default to disable denials for DNS request in cluster.local
     3  # This allows us to discover newly created entries faster than the default 30s
     4  data:
     5    Corefile: |
     6      .:53 {
     7          log
     8          errors
     9          health {
    10             lameduck 5s
    11          }
    12          ready
    13          kubernetes cluster.local in-addr.arpa ip6.arpa {
    14             pods insecure
    15             fallthrough in-addr.arpa ip6.arpa
    16             ttl 30
    17          }
    18          prometheus :9153
    19          hosts {
    20             192.168.49.1 host.minikube.internal
    21             fallthrough
    22          }
    23          forward . /etc/resolv.conf {
    24             max_concurrent 1000
    25          }
    26          cache 30 {
    27             disable denial cluster.local
    28          }
    29          loop
    30          reload
    31          loadbalance
    32      }
    33  kind: ConfigMap
    34  metadata:
    35    name: coredns
    36    namespace: kube-system