Skip to content

Commit 4c7d880

Browse files
Merge pull request #266 from kube-logging/typo-fix-241210
Remove invalid section of a placeholder example
2 parents dee354e + 69aade9 commit 4c7d880

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

content/docs/logging-infrastructure/syslog-ng.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ To migrate your **spec.syslogNG** configuration from the Logging resource to a s
3939
spec:
4040
controlNamespace: logging
4141
syslogNG:
42-
scaling:
43-
replicas: 2
42+
spec:
43+
statefulSet:
44+
spec:
45+
replicas: 2
4446
```
4547
4648
1. Create a new syslogNGConfig CRD. For the value of **metadata.name**, use the name of the Logging resource, for example:
@@ -66,8 +68,9 @@ To migrate your **spec.syslogNG** configuration from the Logging resource to a s
6668
# Use the control namespace of the logging resource
6769
namespace: logging
6870
spec:
69-
scaling:
70-
replicas: 2
71+
statefulSet:
72+
spec:
73+
replicas: 2
7174
```
7275
7376
1. Delete the **spec.syslogNG** section from the Logging resource, then apply the Logging and the syslogNGConfig CRDs.

0 commit comments

Comments
 (0)