-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Promtail crashes when running in Windows Container #2221
Comments
Should be soon we were wait for a fix on boltdb blocking 1.14. |
Thank you for the feedback I will test once its upgraded. |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
any updates on this issue ? |
We've built our own binary with go 1.14 and it's running without issue in windows containers. |
Thanks @Gerthum . were you able to run it on Kubernetes. if yes, Can you please share the promtail config ? |
Yes we are running it successfully in K8s. We use the standard config apart from the following changes:
|
Feel free to send a pr to support docker windows image. |
I'm keen to assist in getting the Windows Image supported. Just a question does it mean integrating it into the build pipeline as well as adding it to helm? If so might just need a bit of guidance to get started. |
Let’s start with just the dockerfile and instructions/docs. |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
With servercore image (mcr.microsoft.com/windows/servercore:ltsc2019) its heavy (image size close to more than 4GB). I tried with powershell nanoserver image () which is light weight but facing following error ..
|
* Remove support schema flags, only use config file. Also rename the schema config file flag to something sane. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Update docs to use the schema file. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Deprecate not remove the config flag. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Make integration tests pass? Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Remove support schema flags, only use config file. Also rename the schema config file flag to something sane. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Update docs to use the schema file. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Deprecate not remove the config flag. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Update docs/configuration/schema-config-reference.md Signed-off-by: Marco Pracucci <marco@pracucci.com> * Fixed schema config doc Signed-off-by: Marco Pracucci <marco@pracucci.com> * Fixes after rebase Signed-off-by: Marco Pracucci <marco@pracucci.com> * Remove duplicated entry from CHANGELOG Signed-off-by: Marco Pracucci <marco@pracucci.com> Co-authored-by: Marco Pracucci <marco@pracucci.com>
Any support for windows containers??? Where is the windows Promtail binary??? |
This issue is closed it seems . So is there a windows binary for promtail that can be used in a Windows container ? |
Describe the bug
When attempting to run the Promtail Windows Binary in a Windows Container it crashes with the following output:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To run as normal
Environment:
Screenshots, Promtail config, or terminal output
It looks to be related to the following bug in Golang https://github.com/golang/go/issues/35447 which is resolved in 1.14
Any idea when the move to 1.14 will happen?
The text was updated successfully, but these errors were encountered: