openshift


Route rsyslog to Openshift pod


Hell,
I need help on hook up the router access logs to the rsyslog pod, in a Openshift environment.
For now, all I have is a simple pod running a PHP web app.
To my knowledge, OpenShift doesn't ship with an rsyslog pod, but the router does support hooking up to a remote syslog server.
I had similar requirements, so I created an rsyslog pod and service which can log to stdout and is useful for getting the access logs and debugging the haproxy router.
I was using it locally, but since it might be useful to others I pushed the code to here https://github.com/PhilipGough/rsyslog-container
I have included an OpenShift template and the instructions are in the readme. You will need to add some env vars to the OpenShift routers deployment config and point it at the service created by the template.

Related Links

How to delete or overwrite a secret in OpenShift?
OpenShift Disk quota exceeded
When is the “conditions” field optional on a DeploymentConfigStatus in OpenShift
how to redirect http to https on an openshift golang app?
how to add keycloak module to openshift wildfly cartridge?
openshift readiness probe error: /bin/sh can't access tty; job control turned off
How to store static contents outside WildFly installation and access them via HTTP?
How to redirect API server hosted on Openshift with Domain purchased from Godaddy
Making openshift origin docker containers persistent after reboot
Openshift pod priority
Unable to deploy app due to wrong permissions in some files
No Internet connection from Pods within openshift
Location of add-user.sh in Openshift
Openshift V2 - Custom Cartridge Permission denied opening port
How to group deployments under common template name in OpenShift console
Moving a docker-compose container to openshift V3

Categories

HOME
weblogic12c
exchange-server
qc
activex
systemd
openflow
ui-automation
jpa-criteria
heuristics
rangy
mailmerge
jpa-2.0
fresco
rest-assured
adobe-illustrator
unity-container
workday
openbravo
php-5.3
jsonresult
progid
fotorama
advanced-filter
des
redgate
identify
mv
cheat-engine
rdp
task-parallel-library
plane
expandablelistview
type-inference
vesta
absolute
beeline
md5-file
head.js
google-news
deedle
portability
stateless-session-bean
zend-server
ogg
jsonix
ftp-client
wicked-pdf
timestamping
android-async-http
swiffy
vimperator
preferenceactivity
psd
html.actionlink
mousehover
screen-orientation
canopy
wso2ml
alwayson
kefir.js
ampersand
html-escape-characters
window-resize
iplimage
senchatouch-2.4
redpitaya
zend-search-lucene
jack
gpu-programming
cpu-time
ember-table
acceptance-testing
days
django-filebrowser
itunes-sdk
contextswitchdeadlock
story
clrprofiler
android-dialog
uitextfielddelegate
liveconnect
quartz-core
motodev-studio
groovy-console
server-variables
sql-parametrized-query
android-2.1-eclair
sscli
urchin
yahoo-maps
3270
main-method
icon-language

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App