zerda / kube-fluentd-cloudwatch Goto Github PK
View Code? Open in Web Editor NEWCollecting Docker Log Files with Fluentd and AWS CloudWatch
Collecting Docker Log Files with Fluentd and AWS CloudWatch
I'm getting following error while running the
2018-07-16 11:17:56 +0000 [error]: unexpected error error_class=URI::InvalidURIError error=#<URI::InvalidURIError: bad URI(is not URI?): https://logs.ap-south-1
.amazonaws.com>
2018-07-16 11:17:56 +0000 [error]: /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in `split'
2018-07-16 11:17:56 +0000 [error]: /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:73:in `parse'
2018-07-16 11:17:56 +0000 [error]: /usr/lib/ruby/2.3.0/uri/common.rb:227:in `parse'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.10.55/lib/seahorse/client/plugins/endpoint.rb:28:in `after_initialize'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.10.55/lib/seahorse/client/base.rb:84:in `block in after_initialize'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.10.55/lib/seahorse/client/base.rb:83:in `each'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.10.55/lib/seahorse/client/base.rb:83:in `after_initialize'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.10.55/lib/seahorse/client/base.rb:21:in `initialize'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.10.55/lib/seahorse/client/base.rb:105:in `new'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-cloudwatch-logs-0.4.0/lib/fluent/plugin/out_cloudwatch_logs.rb:69:in `start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/agent.rb:71:in `block in start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/agent.rb:70:in `each'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/agent.rb:70:in `start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/root_agent.rb:108:in `start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/engine.rb:237:in `start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/engine.rb:187:in `run'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/supervisor.rb:570:in `run_engine'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/supervisor.rb:176:in `block in start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/supervisor.rb:366:in `main_process'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/supervisor.rb:170:in `start'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/lib/fluent/command/fluentd.rb:173:in `<top (required)>'
2018-07-16 11:17:56 +0000 [error]: /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
2018-07-16 11:17:56 +0000 [error]: /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
2018-07-16 11:17:56 +0000 [error]: /var/lib/gems/2.3.0/gems/fluentd-0.12.40/bin/fluentd:5:in `<top (required)>'
2018-07-16 11:17:56 +0000 [error]: /usr/local/bin/fluentd:22:in `load'
2018-07-16 11:17:56 +0000 [error]: /usr/local/bin/fluentd:22:in `<main>'
Hi ,
When I tried to deploy the fluentd daemonset, i had this error "container_linux.go:247: starting container process caused "process_linux.go:292: setting oom score for ready process caused "write /proc/76581/oom_score_adj: invalid argument"" ".
Could you please help?
Thanks and regards
Hi,
I try to work on kube-fluentd-cloudwatch compatibility with AdmissionController. The K8S official document lists below:
https://kubernetes.io/docs/admin/admission-controllers/
My K8S cluster version is 1.8.7, and running on AWS with KOPS. The topology is very simple: 1x master + 1x node, due to it currently is a development cluster.
I tried to apply the best practice as document suggested above:
For Kubernetes >= 1.6.0, we strongly recommend running the following set of admission controllers (order matters):
NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds
But it seems having problem. After pulling images, then it stuck there. Before I apply the best practice of AdmissionController, everything worked fine.
Just curious how I should troubleshoot this issue. Please advice and thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.