robert 2 年 前
コミット
c7f9c6d7a1
1 ファイル変更9 行追加2 行削除
  1. 9 2
      deploy.yaml

+ 9 - 2
deploy.yaml

@@ -21,11 +21,18 @@ spec:
       readinessGates:
       - conditionType: InPlaceUpdateReady
       terminationGracePeriodSeconds: 30
-      dnsPolicy: ClusterFirstWithHostNet
+      dnsPolicy: "None"
       dnsConfig:
         nameservers:
-          - 10.26.22.50
           - 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