Browse Source

[CI SKIP]

robert 2 years ago
parent
commit
429756f03d
1 changed files with 9 additions and 1 deletions
  1. 9 1
      deploy-canary.yaml

+ 9 - 1
deploy-canary.yaml

@@ -23,10 +23,18 @@ spec:
       terminationGracePeriodSeconds: 180
       terminationGracePeriodSeconds: 180
       #nodeSelector:
       #nodeSelector:
       #  app/role: book-webview
       #  app/role: book-webview
-      dnsPolicy: ClusterFirstWithHostNet
+      dnsPolicy: "None"
       dnsConfig:
       dnsConfig:
         nameservers:
         nameservers:
+          - 223.5.5.5
           - 10.26.22.50
           - 10.26.22.50
+        searches:
+          - pro.svc.cluster.local
+          - svc.cluster.local
+          - cluster.local
+        options:
+          - name: ndots
+            value: "5"
       initContainers:
       initContainers:
         - name: init
         - name: init
           image: hub.evbj.easou.com/dev/busybox
           image: hub.evbj.easou.com/dev/busybox