diff --git a/production/helm/loki-stack/Chart.yaml b/production/helm/loki-stack/Chart.yaml index 3b250b37f8..47a22857a4 100644 --- a/production/helm/loki-stack/Chart.yaml +++ b/production/helm/loki-stack/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki-stack -version: 0.29.0 +version: 0.30.0 appVersion: v1.3.0 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs." diff --git a/production/helm/promtail/Chart.yaml b/production/helm/promtail/Chart.yaml index 54b914895d..bb6316cbf8 100644 --- a/production/helm/promtail/Chart.yaml +++ b/production/helm/promtail/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: promtail -version: 0.17.0 +version: 0.18.0 appVersion: v1.3.0 kubeVersion: "^1.10.0-0" description: "Responsible for gathering logs and sending them to Loki" diff --git a/production/helm/promtail/templates/daemonset.yaml b/production/helm/promtail/templates/daemonset.yaml index 66dbac5b3c..6a4266a5f3 100644 --- a/production/helm/promtail/templates/daemonset.yaml +++ b/production/helm/promtail/templates/daemonset.yaml @@ -37,6 +37,17 @@ spec: serviceAccountName: {{ template "promtail.serviceAccountName" . }} {{- if .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName }} + {{- end }} + {{- if .Values.initContainer.enabled }} + initContainers: + - name: init + image: busybox + command: + - sh + - -c + - sysctl -w fs.inotify.max_user_instances={{ .Values.initContainer.fsInotifyMaxUserInstances }} + securityContext: + privileged: true {{- end }} containers: - name: promtail diff --git a/production/helm/promtail/values.yaml b/production/helm/promtail/values.yaml index abf2c56f1f..9f6f942beb 100644 --- a/production/helm/promtail/values.yaml +++ b/production/helm/promtail/values.yaml @@ -6,6 +6,10 @@ annotations: {} deploymentStrategy: RollingUpdate +initContainer: + enabled: false + fsInotifyMaxUserInstances: 128 + image: repository: grafana/promtail tag: v1.3.0