coredns.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. apiVersion: v1
  10. kind: ConfigMap
  11. metadata:
  12. name: coredns
  13. namespace: kube-system
  14. data:
  15. Corefile: |
  16. # This is the stock EKS configuration for CoreDNS, with modifications
  17. # noted inline.
  18. .:53 {
  19. errors
  20. health
  21. ready
  22. kubernetes cluster.local in-addr.arpa ip6.arpa {
  23. pods insecure
  24. fallthrough in-addr.arpa ip6.arpa
  25. # Set the TTL to 1
  26. ttl 1
  27. }
  28. prometheus :9153
  29. forward . /etc/resolv.conf
  30. # Set the TTL to 1 in general
  31. cache 1
  32. loop
  33. reload
  34. }