Skip to content

Commit 0ea5b77

Browse files
Robert Feketecsatib02
authored andcommitted
5.0 whatsnew draft
Signed-off-by: Robert Fekete <fekete77.robert@gmail.com>
1 parent 9c7d2ab commit 0ea5b77

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

content/docs/whats-new/_index.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,67 @@ title: What's new
33
weight: 50
44
---
55

6+
## Version 5.0
7+
8+
The following are the highlights and main changes of Logging operator 5.0. For a complete list of changes and bugfixes, see the [Logging operator 5.0 releases page](https://github.com/kube-logging/logging-operator/releases/tag/5.0).
9+
10+
### Breaking changes
11+
12+
- The Sumo Logic filter, the Sumo Logic output, and the `enhance_k8s` filter are no longer supported, as they are not available in the new Fluentd image (v1.17-5.0). If you want to continue using them, keep using the 4.x version of Logging operator.
13+
- The name of the `crd` subchart changed to `logging-operator-crds`. This new subchart is also available as an OCI artifact.
14+
15+
### Clean up stuck finalizers
16+
17+
When uninstalling Logging operator using Helm, some finalizers may be stuck because Helm uninstalls the resources in a non-deterministic order. You can use the new `finalizer-cleanup` flag in conjunction with `.Values.rbac.retainOnDelete` to avoid this problem. When both options are set during uninstall, then:
18+
19+
- Helm will retain the operator's service account, cluster role, and cluster role binding. This is necessary because Helm uninstalls resources in an unpredictable order.
20+
- The operator will attempt to free up its managed logging resources by removing finalizers, which would otherwise remain stuck.
21+
22+
For example:
23+
24+
```shell
25+
helm install logging-operator ./charts/logging-operator/ --set rbac.retainOnDelete=true --set extraArgs='{"-enable-leader-election=true","-finalizer-cleanup=true"}'
26+
```
27+
28+
### Experimental Telemetry Controller support
29+
30+
You can now use the [Telemetry Controller](https://github.com/kube-logging/telemetry-controller) as a log collector agent instead of Fluent Bit. To test this feature, you have to:
31+
32+
1. Install Logging operator with the `enable-telemetry-controller-route` flag and the `telemetry-controller.install` options enabled:
33+
34+
```shell
35+
helm install logging-operator ./charts/logging-operator/ --set extraArgs='{"-enable-leader-election=true","-enable-telemetry-controller-route"}' --set telemetry-controller.install=true
36+
```
37+
38+
1. Configure the `routeConfig` option in the `Logging` resource to specify how the Telemetry Controller resources are created:
39+
40+
```yaml
41+
apiVersion: logging.banzaicloud.io/v1beta1
42+
kind: Logging
43+
metadata:
44+
name: tc-config
45+
spec:
46+
routeConfig:
47+
enableTelemetryControllerRoute: true # Determines whether to create TC resources for log-collection and routing purposes.
48+
disableLoggingRoute: false # Determines whether to use Logging-routes for routing purposes and Fluentbit-agents for log-collection.
49+
tenantLabels: # Will be placed on TC's tenant resources, must be matched with the same field on the Collector resource. (Deployed by the cluster administrator.)
50+
tenant: logging
51+
```
52+
53+
### Improved IPv6 support
54+
55+
- Fluent Bit couldn't listen on an IPv6 http socket because its HTTP_Listen address was hardcoded. Now this is set using the `POD_IP`, so it works in IPv6 environments as well.
56+
- Until now, IPv6-only clusters couldn't scrape metrics from the Fluentd aggregator. This has been fixed.
57+
58+
### rdkafka option support
59+
60+
You can now set `rdkafka_options` in for rdkafka2 in the [Kafka Fluentd output]({{< relref "/docs/configuration/plugins/outputs/kafka.md#kafka-rdkafka_options" >}}).
61+
62+
### Other Fluent Bit changes
63+
64+
- You can now specify whether to pause or drop data when the buffer is full. This helps to make sure we apply backpressure on the input. For details, see {{% xref "/docs/configuration/crds/v1beta1/fluentbit_types.md#inputtail-storage.pause_on_chunks_overlimit" %}}.
65+
- HotReload pauses all inputs and waits until they finish. However, this can block the reload indefinitely, for example, if an output is down for a longer time. You can now force the reload to happen after a grace period using the [`forceHotReloadAfterGrace`]({{< relref "/docs/configuration/crds/v1beta1/fluentbit_types.md#fluentbitspec-forcehotreloadaftergrace" >}}) option.
66+
667
## Version 4.11
768

869
The following are the highlights and main changes of Logging operator 4.11. For a complete list of changes and bugfixes, see the [Logging operator 4.11 releases page](https://github.com/kube-logging/logging-operator/releases/tag/4.11.0).

0 commit comments

Comments
 (0)