Skip to content

Commit 1252456

Browse files
Robert FeketeRobert Fekete
authored andcommitted
whatsnew for 4.6
1 parent da74847 commit 1252456

File tree

1 file changed

+126
-0
lines changed

1 file changed

+126
-0
lines changed

content/docs/whats-new/_index.md

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

6+
## Version 4.6
7+
8+
The following are the highlights and main changes of Logging operator 4.6. For a complete list of changes and bugfixes, see the [Logging operator 4.6 releases page](https://github.com/kube-logging/logging-operator/releases/tag/4.6.0) and the [Logging operator 4.6 release blog post](fluent-bit-hot-reload-kubernetes-namespace-labels-vmware-outputs-logging-operator-4-6).
9+
10+
## Fluent Bit hot reload
11+
12+
As a Fluent Bit restart can take a long time when there are many files to index, Logging operator now supports [hot reload for Fluent Bit](https://docs.fluentbit.io/manual/administration/hot-reload) to reload its configuration on the fly.
13+
14+
You can enable hot reloads under the Logging's `spec.fluentbit.configHotReload` (legacy method) option, or the new FluentbitAgent's `spec.configHotReload` option:
15+
16+
```yaml
17+
apiVersion: logging.banzaicloud.io/v1beta1
18+
kind: FluentbitAgent
19+
metadata:
20+
name: reload-example
21+
spec:
22+
configHotReload: {}
23+
```
24+
25+
You can configure the `resources` and `image` options:
26+
27+
```yaml
28+
apiVersion: logging.banzaicloud.io/v1beta1
29+
kind: FluentbitAgent
30+
metadata:
31+
name: reload-example
32+
spec:
33+
configHotReload:
34+
resources: ...
35+
image:
36+
repository: ghcr.io/kube-logging/config-reloader
37+
tag: v0.0.5
38+
```
39+
40+
Many thanks to @aslafy-z for contributing this feature!
41+
42+
## VMware Aria Operations output for Fluentd
43+
44+
When using the Fluentd aggregator with the Logging operator, you can now send your logs to [VMware Aria Operations for Logs](https://www.vmware.com/products/aria-operations-for-logs.html). This output uses the [vmwareLogInsight plugin](https://github.com/vmware/fluent-plugin-vmware-loginsight).
45+
46+
Here is a sample output snippet:
47+
48+
```yaml
49+
spec:
50+
vmwareLogInsight:
51+
scheme: https
52+
ssl_verify: true
53+
host: MY_LOGINSIGHT_HOST
54+
port: 9543
55+
agent_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
56+
log_text_keys:
57+
- log
58+
- msg
59+
- message
60+
http_conn_debug: false
61+
```
62+
63+
Many thanks to @logikone for contributing this feature!
64+
65+
## VMware Log Intelligence output for Fluentd
66+
67+
When using the Fluentd aggregator with the Logging operator, you can now send your logs to [VMware Log Intelligence](https://aria.vmware.com/t/vmware-log-intelligence/). This output uses the [vmware_log_intelligence plugin](https://github.com/vmware/fluent-plugin-vmware-log-intelligence).
68+
69+
Here is a sample output snippet:
70+
71+
```yaml
72+
spec:
73+
vmwarelogintelligence:
74+
endpoint_url: https://data.upgrade.symphony-dev.com/le-mans/v1/streams/ingestion-pipeline-stream
75+
verify_ssl: true
76+
http_compress: false
77+
headers:
78+
content_type: "application/json"
79+
authorization:
80+
valueFrom:
81+
secretKeyRef:
82+
name: vmware-log-intelligence-token
83+
key: authorization
84+
structure: simple
85+
buffer:
86+
chunk_limit_records: 300
87+
flush_interval: 3s
88+
retry_max_times: 3
89+
```
90+
91+
Many thanks to @zrobisho for contributing this feature!
92+
93+
## Kubernetes namespace labels and annotations
94+
95+
Logging operator 4.6 supports the new Fluent Bit Kubernetes filter options that will be released in Fluent Bit 3.0. That way you'll be able to enrich your logs with Kubernetes namespace labels and annotations right at the source of the log messages.
96+
97+
Fluent Bit 3.0 hasn't been released yet (at the time of this writing), but you can use a developer image to test the feature, using a `FluentbitAgent` resource like this:
98+
99+
```yaml
100+
apiVersion: logging.banzaicloud.io/v1beta1
101+
kind: FluentbitAgent
102+
metadata:
103+
name: namespace-label-test
104+
spec:
105+
filterKubernetes:
106+
namespace_annotations: "On"
107+
namespace_labels: "On"
108+
image:
109+
repository: ghcr.io/fluent/fluent-bit/unstable
110+
tag: latest
111+
```
112+
113+
## Other changes
114+
115+
- Enabling ServiceMonitor checks if Prometheus is already available.
116+
- You can now use a custom PVC without a template for the statefulset.
117+
- You can now configure PodDisruptionBudget for Fluentd.
118+
- Event tailer metrics are now automatically exposed.
119+
- You can configure [timeout-based configuration checks](https://kube-logging.dev/docs/whats-new/#timeout-based-configuration-checks) using the `logging.configCheck` object of the `logging-operator` chart.
120+
- You can now specify the event tailer image to use in the `logging-operator` chart.
121+
- Fluent Bit can now automatically delete irrecoverable chunks.
122+
- The Fluentd statefulset and its components created by the Logging operator now include the whole securityContext object.
123+
- The Elasticsearch output of the syslog-ng aggregator now supports the template option.
124+
- To avoid problems that might occur when a tenant has a faulty output and backpressure kicks in, Logging operator now creates a dedicated tail input for each tenant.
125+
126+
## Removed feature
127+
128+
We have removed support for [Pod Security Policies (PSPs)](https://kubernetes.io/docs/concepts/security/pod-security-policy/), which were deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25.
129+
130+
Note that the API was left intact, it just doesn't do anything.
131+
6132
## Version 4.5
7133

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

0 commit comments

Comments
 (0)