fluentd loading from minion can't reached the kubernetes apiserver #41623

Open
bamb00 opened this Issue Feb 17, 2017 · 0 comments

Projects

None yet

1 participant

@bamb00
bamb00 commented Feb 17, 2017 edited

kubernetes version v1.5.3

Environment:

  • k8 master & minions on AWS
  • Ubuntu
  • 1 master, 2 Minions:

Fluentd pod load from master is fine but from minions failed with error cannot access kubernetes apiserver:
2017-02-17T06:05:22.362485115Z 2017-02-17 06:05:22 +0000 [info]: adding filter pattern="kubernetes." type="kubernetes_metadata"
2017-02-17T06:06:22.708046430Z 2017-02-17 06:06:22 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error="Invalid Kubernetes API v1 endpoint https://apiserver_IP:443/api: Timed out connecting to server"
2017-02-17T15:37:07.401282377Z 2017-02-17 15:37:07 +0000 [info]: process finished code=256
2017-02-17T15:37:07.401307101Z 2017-02-17 15:37:07 +0000 [error]: fluentd main process died unexpectedly. restarting.
2017-02-17T15:37:07.401317662Z 2017-02-17 15:37:07 +0000 [info]: starting fluentd-0.12.31

fluentd pod should load successfully from minions:

Issue:: Deploy fluentd pod to node running on master and to nodes running on multiple minion

secgrp port 443 is open inbound for apiserver:

@bamb00 bamb00 changed the title from fluentd: fluentd loading minion can't contact the kubernetes api server to fluentd: fluentd loading from minion can't reached the kubernetes api server Feb 17, 2017
@bamb00 bamb00 changed the title from fluentd: fluentd loading from minion can't reached the kubernetes api server to fluentd: fluentd loading from minion can't reached the kubernetes apiserver Feb 17, 2017
@bamb00 bamb00 changed the title from fluentd: fluentd loading from minion can't reached the kubernetes apiserver to fluentd loading from minion can't reached the kubernetes apiserver Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment