We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99d3765 commit 9cac510Copy full SHA for 9cac510
2 files changed
templates/daemonset.yaml
@@ -28,6 +28,10 @@ spec:
28
hostPID: true
29
hostNetwork: true
30
dnsPolicy: ClusterFirstWithHostNet
31
+ {{- with .Values.dnsConfig }}
32
+ dnsConfig:
33
+ {{- toYaml . | nindent 8 }}
34
+ {{- end }}
35
containers:
36
# Collector container (non-privileged)
37
- name: collector
values.yaml
@@ -110,6 +110,12 @@ rbac:
110
# Service account name
111
serviceAccountName: better-stack-collector
112
113
+# set default ndots to prevent unnecessary DNS resolve calls
114
+dnsConfig:
115
+ options:
116
+ - name: ndots
117
+ value: "2"
118
+
119
# Security context for pods
120
securityContext:
121
collector:
0 commit comments