Skip to content

Commit

Permalink
Merge pull request #193 from kube-logging/timeout-based-configcheck
Browse files Browse the repository at this point in the history
reword whatsnew for timeout based configcheck
  • Loading branch information
fekete-robert authored Oct 10, 2023
2 parents c97e7f5 + 67d8892 commit 01621fd
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: they start a Fluentd or syslog-ng instance
without the dry-run or syntax-check flags, so output plugins or destination drivers actually try to establish
connections and will fail if there are any issues , for example, with the credentials.

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 01621fd

Please sign in to comment.