Error Filebeats in kubernetes

im trying to install filebat over kubernetes in a Openshift environment . the idea is use it instead openshift fluentd
my environment is Openshift 3.6 with kubernetes 1.6 .
ok i followed this guide https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html
but it fails with the following error
kubernetes: Performing a resource sync err decode error status 403: cannot decode json payload into protobuf object for *v1.PodList

Any help is appreciate

Forget it . problem is solved
documentation is only valid for ocp versions over 3.6
https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html
you will have to modify filebeat-kubernetes.yaml and change apiVersion for ClusterRoleBinding and ClusterRole

sed "s%rbac.authorization.k8s.io/v1%v1%" filebeat-kubernetes.yaml 

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.