changeset 125:faccf5f8c808

coredns config fix
author drewp@bigasterisk.com
date Wed, 07 Dec 2022 23:16:27 -0800
parents 1d82681e7051
children fe3ae7c95e65
files templates/kube/coredns-map.yaml templates/kube/coredns.yaml
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/templates/kube/coredns-map.yaml	Wed Dec 07 23:15:51 2022 -0800
+++ b/templates/kube/coredns-map.yaml	Wed Dec 07 23:16:27 2022 -0800
@@ -5,6 +5,7 @@
   namespace: kube-system
 data:
   Corefile.yaml: |
+  #i think this is no longer used
     .:53 {
         errors
         health
--- a/templates/kube/coredns.yaml	Wed Dec 07 23:15:51 2022 -0800
+++ b/templates/kube/coredns.yaml	Wed Dec 07 23:16:27 2022 -0800
@@ -53,7 +53,7 @@
   namespace: kube-system
 data:
   Corefile: |
-    # update 2022-06-20T21:58
+    # update 2022-11-26T23:47
     .:53 {
         errors
         health
@@ -68,7 +68,7 @@
           fallthrough
         }
         prometheus :9153
-        forward . dns://10.5.0.1
+        forward . dns://10.2.0.3
         cache 30
         loop
         reload
@@ -212,7 +212,7 @@
 spec:
   selector:
     k8s-app: kube-dns
-  clusterIP: '172.26.0.10'
+  clusterIP: '10.5.0.1'
   ports:
   - name: dns
     port: 53