From 7039d69b78288f50dd039d09aca11b30050739fb Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Tue, 10 Dec 2024 11:00:20 +0100 Subject: [PATCH 1/2] Remove invalid section of a placeholder example --- content/docs/logging-infrastructure/syslog-ng.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/docs/logging-infrastructure/syslog-ng.md b/content/docs/logging-infrastructure/syslog-ng.md index 8cefa2cc9..8710c77be 100644 --- a/content/docs/logging-infrastructure/syslog-ng.md +++ b/content/docs/logging-infrastructure/syslog-ng.md @@ -39,8 +39,7 @@ To migrate your **spec.syslogNG** configuration from the Logging resource to a s spec: controlNamespace: logging syslogNG: - scaling: - replicas: 2 + ... ``` 1. Create a new syslogNGConfig CRD. For the value of **metadata.name**, use the name of the Logging resource, for example: @@ -66,8 +65,7 @@ To migrate your **spec.syslogNG** configuration from the Logging resource to a s # Use the control namespace of the logging resource namespace: logging spec: - scaling: - replicas: 2 + ... ``` 1. Delete the **spec.syslogNG** section from the Logging resource, then apply the Logging and the syslogNGConfig CRDs. From 69aade900b5b0092f57871c346876ac31f18b071 Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Tue, 10 Dec 2024 11:04:01 +0100 Subject: [PATCH 2/2] Use meaningful example --- content/docs/logging-infrastructure/syslog-ng.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/content/docs/logging-infrastructure/syslog-ng.md b/content/docs/logging-infrastructure/syslog-ng.md index 8710c77be..80e0ba109 100644 --- a/content/docs/logging-infrastructure/syslog-ng.md +++ b/content/docs/logging-infrastructure/syslog-ng.md @@ -39,7 +39,10 @@ To migrate your **spec.syslogNG** configuration from the Logging resource to a s spec: controlNamespace: logging syslogNG: - ... + spec: + statefulSet: + spec: + replicas: 2 ``` 1. Create a new syslogNGConfig CRD. For the value of **metadata.name**, use the name of the Logging resource, for example: @@ -65,7 +68,9 @@ To migrate your **spec.syslogNG** configuration from the Logging resource to a s # Use the control namespace of the logging resource namespace: logging spec: - ... + statefulSet: + spec: + replicas: 2 ``` 1. Delete the **spec.syslogNG** section from the Logging resource, then apply the Logging and the syslogNGConfig CRDs.