Fluentd Forwarding to different OpenShift Cluster #3851
Unanswered
chrisblatt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! First of all fluentd has been a fantastic tool for us! We recently moved all our apps running in a single OpenShift cluster to now many apps running in multiple OpenShift clusters. On our previous cluster and our new cluster our infrastrucuture team has left log collection up to the individual teams. Our team chose to implmented fluentd sending to an elasticsearch cluster. This was working fine for our apps when we were in a single OpenShift cluster, our fluentd service to elasticsearch was configured like this:
We created a service in OpenShift called fluentd-service and configured a sidecar like this to forward logs which is working:
This setup worked perfectly and we never had any issues with it with a single cluster. But now that we have moved to multiple clusters we still wanted to host the main fluentd service to elasticsearch on one cluster and just use sidecars in other clusters to forward logs to it. The sidecars on the same cluster use the configuration above using the local cluster dns name, but we are having problems with off cluster sidecars not being able to communicate.
Our fluentd service has port 24224 exposed for UDP and TCP but we haven't found a way to expose both protocols on the port using an OpenShift route, we created this route for sidecars outside our cluster to forward logs but it is not working:
We are assuming this route is not working when configured in the sidecars due to only the TCP and UDP route not exposed? Does anyone have any suggestions or is there a piece I am missing?
Here is the sidecare config we attempted for cross cluster forwarding:
Beta Was this translation helpful? Give feedback.
All reactions