Skip to content

Commit 01621fd

Browse files
Merge pull request #193 from kube-logging/timeout-based-configcheck
reword whatsnew for timeout based configcheck
2 parents c97e7f5 + 67d8892 commit 01621fd

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

content/docs/whats-new/_index.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,32 +40,16 @@ In a future Logging operator version the logs of the aggregators will also be av
4040

4141
### Timeout-based configuration checks
4242

43-
You can now use timeout-based configuration strategies for both syslog-ng and Fluentd. For example:
43+
Timeout-based configuration checks are different from the normal method: they start a Fluentd or syslog-ng instance
44+
without the dry-run or syntax-check flags, so output plugins or destination drivers actually try to establish
45+
connections and will fail if there are any issues , for example, with the credentials.
4446

47+
Add the following to you `Logging` resource spec:
4548
```yaml
46-
apiVersion: logging.banzaicloud.io/v1beta1
47-
kind: Logging
48-
metadata:
49-
name: all-to-file
5049
spec:
5150
configCheck:
5251
strategy: StartWithTimeout
5352
timeoutSeconds: 5
54-
syslogNG: {}
55-
controlNamespace: default
56-
```
57-
58-
```yaml
59-
apiVersion: logging.banzaicloud.io/v1beta1
60-
kind: Logging
61-
metadata:
62-
name: all-to-file
63-
spec:
64-
configCheck:
65-
strategy: StartWithTimeout
66-
timeoutSeconds: 5
67-
fluentd: {}
68-
controlNamespace: default
6953
```
7054
7155
### Istio support

0 commit comments

Comments
 (0)