Logs are not being written inside crossplane pod #5475
Replies: 4 comments 1 reply
-
kubernetes pods typically log to stdout and rely on other mechanisms to collect the logs, for example from the files that docker maintains in |
Beta Was this translation helpful? Give feedback.
-
@bobh66 the challenge that we have is crossplane is not writing logs to any files inside the pod and we are using eks with fargate so we won't be able to collect logs from /var/logs/containers |
Beta Was this translation helpful? Give feedback.
-
Is this relevant: https://aws.amazon.com/blogs/containers/fluent-bit-for-amazon-eks-on-aws-fargate-is-here/ |
Beta Was this translation helpful? Give feedback.
-
As @bobh66 mentions, Crossplane writes logs to stdout, not files in the pods. This is standard practice in Kubernetes. This seems more like a request for help than a bug in Crossplane, so I'm going to convert this issue to a discussion. |
Beta Was this translation helpful? Give feedback.
-
We have a specific requirement where I need to ship crossplane logs to splunk via fluentbit. I am currently using Aws Eks with fargate. The challenge I could see here in the crossplane pod is, logs were not getting written to any files inside pod as fluentbit can expect logs to be in the files.
Can someone helps me if crossplane writes logs to somewhere else other than stdout. If it is not possible atleast please suggest a way to pull argocd logs to the splunk via fluentbit. One big challenge here is, as we are using eks with fargate, there is no scope of getting logs from nodes.
Beta Was this translation helpful? Give feedback.
All reactions