Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't mount and don't define pos volumes for fluentd #903

Merged
merged 2 commits into from
Sep 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions deploy/helm/sumologic/templates/events-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ spec:
{{ toYaml .Values.fluentd.events.statefulset.tolerations | indent 8 }}
{{- end }}
volumes:
- name: pos-files
hostPath:
path: /var/run/fluentd-pos
type: ""
- name: config-volume
configMap:
name: {{ template "sumologic.metadata.name.events.configmap" . }}
Expand All @@ -68,8 +64,6 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
{{- if .Values.fluentd.persistence.enabled }}
- name: buffer
mountPath: "/fluentd/buffer"
Expand Down
6 changes: 0 additions & 6 deletions deploy/helm/sumologic/templates/metrics-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ spec:
{{- end }}
{{- end }}
volumes:
- name: pos-files
hostPath:
path: /var/run/fluentd-pos
type: ""
- name: config-volume
configMap:
name: {{ template "sumologic.metadata.name.metrics.configmap" . }}
Expand Down Expand Up @@ -125,8 +121,6 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
{{- if .Values.fluentd.persistence.enabled }}
- name: buffer
mountPath: "/fluentd/buffer"
Expand Down
6 changes: 0 additions & 6 deletions deploy/helm/sumologic/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ spec:
{{- end }}
{{- end }}
volumes:
- name: pos-files
hostPath:
path: /var/run/fluentd-pos
type: ""
- name: config-volume
configMap:
name: {{ template "sumologic.metadata.name.logs.configmap" . }}
Expand Down Expand Up @@ -130,8 +126,6 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
{{- if .Values.fluentd.persistence.enabled }}
- name: buffer
mountPath: "/fluentd/buffer"
Expand Down
18 changes: 0 additions & 18 deletions deploy/kubernetes/fluentd-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -781,10 +781,6 @@ spec:
spec:
serviceAccountName: collection-sumologic
volumes:
- name: pos-files
hostPath:
path: /var/run/fluentd-pos
type: ""
- name: config-volume
configMap:
name: collection-sumologic-fluentd-events
Expand All @@ -805,8 +801,6 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
livenessProbe:
httpGet:
path: /fluentd.pod.healthcheck?json=%7B%22log%22%3A+%22health+check%22%7D
Expand Down Expand Up @@ -869,10 +863,6 @@ spec:
- prometheus-operator-prometheus
topologyKey: "kubernetes.io/hostname"
volumes:
- name: pos-files
hostPath:
path: /var/run/fluentd-pos
type: ""
- name: config-volume
configMap:
name: collection-sumologic-fluentd-metrics
Expand Down Expand Up @@ -910,8 +900,6 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
env:
- name: SUMO_ENDPOINT_APISERVER_METRICS_SOURCE
valueFrom:
Expand Down Expand Up @@ -999,10 +987,6 @@ spec:
- prometheus-operator-prometheus
topologyKey: "kubernetes.io/hostname"
volumes:
- name: pos-files
hostPath:
path: /var/run/fluentd-pos
type: ""
- name: config-volume
configMap:
name: collection-sumologic-fluentd-logs
Expand Down Expand Up @@ -1040,8 +1024,6 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /fluentd/etc/
- name: pos-files
mountPath: /mnt/pos/
env:
- name: SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE
valueFrom:
Expand Down