-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use on non-GCP non-AWS systems #156
Comments
Hi @meta-coder, unfortunately we don't yet support non-GCP and non-AWS systems as of today. It is on our roadmap though. We don't have a specific timeline yet, but it's on our radar. |
To expand on what @qingling128 said, the plugin does a bit more than call the API -- it also embeds the logic to detect where it's running or where the data is coming from, so that users don't have to supply that information. This logic has not yet been adapted to non-GCP and non-AWS platforms. |
Just wanted to show interest in this as well. I'm building out a service that would benefit from forwarding logs to Stackdriver for monitoring. |
+1 from my team as well. We use cloud logging from inside our data center and would love to have a more standardized, maintained approach using this fluentd plugin. |
Thanks all for showing the interest and helping us prioritize our tasks! We've added a note in the agenda for tomorrow's Logging Agent product sync meeting to re-emphasize the impact / interest from customers on this feature. Stay tuned. :) |
Also makes sense, for us at least, to be able to use this in a Minikube environment. This now gives the following error: Would be nice if you could just set params like this using ENV variables. |
This was the first option I looked into for a bare-metal kubernetes installation we are planning to use for some prod traffic. I would have used it if it was supported. |
This is not officially supported. However, you can override the required parameters ( |
@igorpeshansky Thanks for pointing that out. I got the project id working, indeed by loading the credentials file. I also tried to figure out how to change the configMap but since I'm to far from understanding the Fluent config, it felt like trail and error. |
In the fluentd config, right after
The instructions I pointed to for changing the Kubernetes ConfigMap should tell you how to get to that bit of configuration. |
@igorpeshansky After following your instructions to manually set the
|
Thanks for the clarification. I was just using gcr.io/google-containers/fluentd-gcp:2.0.11, which must have shipped with 0.6.11. I rolled my image back to gcr.io/google-containers/fluentd-gcp:2.0.10 and it started working. Thanks! |
Hi, any update on this? Spent few hours trying to set up monitoring with stackdriver only to figure out it is not working for on-prem environments :) |
@mlushpenko I got it working with the latest plugin version (0.6.21). Add the following records:
and config parameters (to the google_cloud output plugin config params):
|
@mactr0n is this for minikube or vmware k8s cluster I am getting the following in the logging-agent pod
|
@sarmadali20 we use it on a custom (kubeamd) and aks cluster. Could you please post the complete config?
|
Would like to see this plugin working on any environment. |
@duanshiqiang just follow my hints and it will work anywhere. We use the plugin for log forwarding on a custom cluster and azure. |
Steps to running stackdriver logging on non Kubernetes environments outside of GCE or AWS: First get it running on a GCE instance so you can compare against something that acutally works.
|
@bryanlarsen suggestion works, thanks! |
@bryanlarsen works for me, thanks!. |
I'm glad you found a solution that works for you. I'll close this ticket because the plugin meets our design goals. |
@jkohen Could you mention in the Documentation about this configuration changes suggested by @bryanlarsen. It will help a lot others ;) 👍 |
I have a PKS cluster and I have followed the above steps and the logs are coming in the stackdriver under the GCE Compute section. |
Are non-GCP non-AWS systems supported by this plugin? Since Stackdriver APIs can be used from anywhere, this plugin should work from anywhere/any platform. Also, please document how to configure and use it on other platforms where metadata server/zone/vm_id etc are not applicable.
Thanks.
The text was updated successfully, but these errors were encountered: