瀏覽代碼

[CI SKIP]

robert 2 年之前
父節點
當前提交
429756f03d
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      deploy-canary.yaml

+ 9 - 1
deploy-canary.yaml

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