Skip to content

Commit

Permalink
feat!: remove support for fluent-bit and fluentd (#3244)
Browse files Browse the repository at this point in the history
* chore: changelog

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: fail if fluent is being used

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: cleanup values.yaml and Chart.yaml

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: cleanup tests

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: remove fluentd enable related helper

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: clean up links to docs

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: remove fluent related configuration from otelcol configuration

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: remove fluentd related docs

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: fix events template

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: cleanup events templates

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: remove fluentd related configuration

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* tests(inegration): remove fluent related tests

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: remove all flunet mentions except few comments and checks

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* fix: fix serviceLabels for events

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: use metadata.serviceLabels for events

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: fix docs

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: make format

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* tests: update tests

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* tests: fix

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* docs: init fluent migration section

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: add link to migration doc to helm fail

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* docs: update migration doc

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: fix tests

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

---------

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
sumo-drosiek authored Sep 13, 2023
1 parent c497687 commit 8f0ef5e
Show file tree
Hide file tree
Showing 130 changed files with 606 additions and 9,064 deletions.
1 change: 1 addition & 0 deletions .changelog/3244.breaking.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat!: remove support for fluent-bit and fluentd
17 changes: 0 additions & 17 deletions ci/check_configuration_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,6 @@

DESCRIPTION = 'This program verifies if all configuration from values.yaml has been documented.'
SKIP_DEFAULTS = {
'fluent-bit.enabled',
'fluentd.events.extraEnvVars',
'fluentd.events.extraVolumeMounts',
'fluentd.events.extraVolumes',
'fluentd.events.statefulset.initContainers',
'fluentd.logs.autoscaling.targetMemoryUtilizationPercentage',
'fluentd.logs.extraEnvVars',
'fluentd.logs.extraVolumeMounts',
'fluentd.logs.extraVolumes',
'fluentd.logs.podDisruptionBudget',
'fluentd.logs.statefulset.initContainers',
'fluentd.metrics.autoscaling.targetMemoryUtilizationPercentage',
'fluentd.metrics.extraEnvVars',
'fluentd.metrics.extraVolumeMounts',
'fluentd.metrics.extraVolumes',
'fluentd.metrics.statefulset.initContainers',
'fluentd.persistence.storageClass',
'kube-prometheus-stack.enabled',
'kube-prometheus-stack.global.imagePullSecrets',
'metadata.logs.autoscaling.targetMemoryUtilizationPercentage',
Expand Down
3 changes: 0 additions & 3 deletions deploy/docs/Additional_Fluentd_Plugins.md

This file was deleted.

3 changes: 0 additions & 3 deletions deploy/docs/ContainerLogs.md

This file was deleted.

3 changes: 0 additions & 3 deletions deploy/docs/FluentdPersistence.md

This file was deleted.

3 changes: 0 additions & 3 deletions deploy/docs/fluentd_otc_comparison.md

This file was deleted.

4 changes: 0 additions & 4 deletions deploy/helm/sumologic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ home: https://github.com/SumoLogic/sumologic-kubernetes-collection
sources:
- https://github.com/SumoLogic/sumologic-kubernetes-collection
dependencies:
- name: fluent-bit
version: 0.34.2
repository: https://fluent.github.io/helm-charts
condition: fluent-bit.enabled,sumologic.logs.enabled
- name: kube-prometheus-stack
version: 40.5.0
repository: https://prometheus-community.github.io/helm-charts
Expand Down
1,072 changes: 446 additions & 626 deletions deploy/helm/sumologic/README.md

Large diffs are not rendered by default.

87 changes: 0 additions & 87 deletions deploy/helm/sumologic/conf/events/fluentd/events.conf

This file was deleted.

2 changes: 1 addition & 1 deletion deploy/helm/sumologic/conf/events/otelcol/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ processors:
value: {{ .Values.sumologic.clusterName | quote }}
source:
collector: {{ .Values.sumologic.collectorName | default .Values.sumologic.clusterName | quote }}
source_category: {{ .Values.sumologic.events.sourceCategory | default (printf "%s/%s" (include "sumologic.clusterNameReplaceSpaceWithDash" .) (.Values.fluentd.events.sourceName )) | quote}}
source_category: {{ .Values.sumologic.events.sourceCategory | default (printf "%s/%s" (include "sumologic.clusterNameReplaceSpaceWithDash" .) (.Values.sumologic.events.sourceName )) | quote}}
source_category_prefix: ""
source_category_replace_dash: {{ .Values.sumologic.events.sourceCategoryReplaceDash | quote}}
source_name: {{ .Values.sumologic.events.sourceName | quote}}
Expand Down
12 changes: 0 additions & 12 deletions deploy/helm/sumologic/conf/fluentd/buffer.output.conf

This file was deleted.

29 changes: 0 additions & 29 deletions deploy/helm/sumologic/conf/fluentd/common.conf

This file was deleted.

12 changes: 0 additions & 12 deletions deploy/helm/sumologic/conf/logs/fluentd/logs.conf

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions deploy/helm/sumologic/conf/logs/fluentd/logs.output.conf

This file was deleted.

130 changes: 0 additions & 130 deletions deploy/helm/sumologic/conf/logs/fluentd/logs.source.containers.conf

This file was deleted.

Loading

0 comments on commit 8f0ef5e

Please sign in to comment.