Skip to content

Commit

Permalink
reword whatsnew for timeout based configcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Wilcsinszky <[email protected]>
  • Loading branch information
pepov committed Oct 10, 2023
1 parent c97e7f5 commit fd45de3
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions content/docs/whats-new/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,32 +40,16 @@ In a future Logging operator version the logs of the aggregators will also be av

### Timeout-based configuration checks

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

Add the following to you `Logging` resource spec:
```yaml
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
name: all-to-file
spec:
configCheck:
strategy: StartWithTimeout
timeoutSeconds: 5
syslogNG: {}
controlNamespace: default
```
```yaml
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
name: all-to-file
spec:
configCheck:
strategy: StartWithTimeout
timeoutSeconds: 5
fluentd: {}
controlNamespace: default
```
### Istio support
Expand Down

0 comments on commit fd45de3

Please sign in to comment.