File tree 1 file changed +9
-3
lines changed 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -340,9 +340,15 @@ The router is an [HAProxy](http://www.haproxy.org/) container that is run via a
340
340
provides a watch on ` routes ` and ` endpoints ` . The watch funnels down to the configuration files for the [ HAProxy] ( http://www.haproxy.org/ )
341
341
plugin which can be found in ` plugins/router/haproxy/haproxy.go ` . The router is then issued a reload command.
342
342
343
- When debugging the router it is sometimes useful to inspect these files. To do this you must enter the namespace of the
344
- running container by getting the pid and using nsenter
345
- ` nsenter -m -u -n -i -p -t $(docker inspect --format "{{.State.Pid }}" <container-id>) `
343
+ When debugging the router it is sometimes useful to inspect these files. For example:
344
+
345
+ ```
346
+ $ oc get pods -n default
347
+ NAME READY STATUS RESTARTS AGE
348
+ router-1-2sqao 1/1 Running 0 1m
349
+ $ oc rsh -n default router-1-2sqao
350
+ ```
351
+
346
352
Listed below are the files used for configuration.
347
353
348
354
ConfigTemplate = "/var/lib/haproxy/conf/haproxy_template.conf"
You can’t perform that action at this time.
0 commit comments