Parcourir la source

Allow specifying clusterfirst dns policy for ix-chart

This commit adds changes to allow specifying cluster first dns policy for ix-chart as it can be useful for cases where the workload running with ix-chart needs to consume internal kubernetes dns for accessing service(s)/workload(s) etc.
sonicaj il y a 4 ans
Parent
commit
7a168ab195
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 8 1
      test/ix-chart/2107.0.0/questions.yaml

+ 8 - 1
test/ix-chart/2107.0.0/questions.yaml

@@ -255,7 +255,14 @@ questions:
       default: "Default"
       enum:
         - value: "Default"
-          description: "Use Default DNS Policy"
+          description: "Use Default DNS Policy where Pod will inherit the name resolution configuration from the node."
+        - value: "ClusterFirst"
+          description: >
+            "Kubernetes internal DNS will be prioritised and resolved first. If the domain does not resolve with internal
+            kubernetes DNS, the DNS query will be forwarded to the upstream nameserver inherited from the node. This is
+            useful if the workload needs to access other service(s)/workload(s) using kubernetes internal DNS."
+        - value: "ClusterFirstWithHostNet"
+          description: "For Pods running with hostNetwork and wanting to prioritise internal kubernetes DNS should make use of this policy."
         - value: "None"
           description: "Ignore DNS settings from the Kubernetes cluster"
   - variable: dnsConfig