From 0d6d22b0d453849a00ab37717043283f7aacbb20 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 9 Mar 2021 10:33:40 +0100 Subject: [PATCH] Disable metadata via kubelet for now --- charts/kubezero-logging/charts/fluent-bit/templates/_pod.tpl | 4 ++-- charts/kubezero-logging/fluent-bit.patch | 4 ++-- charts/kubezero-logging/values.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/kubezero-logging/charts/fluent-bit/templates/_pod.tpl b/charts/kubezero-logging/charts/fluent-bit/templates/_pod.tpl index 251080af..aef11129 100644 --- a/charts/kubezero-logging/charts/fluent-bit/templates/_pod.tpl +++ b/charts/kubezero-logging/charts/fluent-bit/templates/_pod.tpl @@ -13,8 +13,8 @@ securityContext: dnsConfig: {{- toYaml . | nindent 2 }} {{- end }} -hostNetwork: true -dnsPolicy: ClusterFirstWithHostNet +#hostNetwork: true +#dnsPolicy: ClusterFirstWithHostNet containers: - name: {{ .Chart.Name }} securityContext: diff --git a/charts/kubezero-logging/fluent-bit.patch b/charts/kubezero-logging/fluent-bit.patch index c749edf2..2c67dcd4 100644 --- a/charts/kubezero-logging/fluent-bit.patch +++ b/charts/kubezero-logging/fluent-bit.patch @@ -19,8 +19,8 @@ diff -tubNr charts/fluent-bit/templates/_pod.tpl charts/fluent-bit.zdt/templates dnsConfig: {{- toYaml . | nindent 2 }} {{- end }} -+hostNetwork: true -+dnsPolicy: ClusterFirstWithHostNet ++#hostNetwork: true ++#dnsPolicy: ClusterFirstWithHostNet containers: - name: {{ .Chart.Name }} securityContext: diff --git a/charts/kubezero-logging/values.yaml b/charts/kubezero-logging/values.yaml index 3499cfcc..001d5363 100644 --- a/charts/kubezero-logging/values.yaml +++ b/charts/kubezero-logging/values.yaml @@ -258,8 +258,8 @@ fluent-bit: Keep_Log Off K8S-Logging.Parser Off K8S-Logging.Exclude Off - Use_Kubelet true - Kubelet_Port 10250 + #Use_Kubelet true + #Kubelet_Port 10250 {{- if index .Values "config" "extraRecords" }}