Skip to content

Commit 35abcdf

Browse files
authored
Merge pull request #65658 from jmanthei/OSDOCS-7180
OSDOCS 7180- Allow Ingress to Modify the HAProxy Log Length when using a Sidecar
2 parents abcb313 + eb1f5af commit 35abcdf

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

modules/nw-configure-ingress-access-logging.adoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,47 @@ spec:
116116
logging:
117117
access: null
118118
----
119+
120+
Allow the Ingress Controller to modify the HAProxy log length when using a sidecar.
121+
122+
* Use `spec.logging.access.destination.syslog.maxLength` if you are using `spec.logging.access.destination.type: Syslog`.
123+
124+
+
125+
[source,yaml]
126+
----
127+
apiVersion: operator.openshift.io/v1
128+
kind: IngressController
129+
metadata:
130+
name: default
131+
namespace: openshift-ingress-operator
132+
spec:
133+
replicas: 2
134+
logging:
135+
access:
136+
destination:
137+
type: Syslog
138+
syslog:
139+
address: 1.2.3.4
140+
maxLength: 4096
141+
port: 10514
142+
----
143+
* Use `spec.logging.access.destination.container.maxLength` if you are using `spec.logging.access.destination.type: Container`.
144+
145+
+
146+
[source,yaml]
147+
----
148+
apiVersion: operator.openshift.io/v1
149+
kind: IngressController
150+
metadata:
151+
name: default
152+
namespace: openshift-ingress-operator
153+
spec:
154+
replicas: 2
155+
logging:
156+
access:
157+
destination:
158+
type: Container
159+
container:
160+
maxLength: 8192
161+
----
162+

0 commit comments

Comments
 (0)