<p>$ kubectl create namespace logging</p>
<p>$ kubectl create -f <a href="https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-service-account.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-service-account.yaml</a></p>
<p>$ kubectl create -f <a href="https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role.yaml</a></p>
<p>$ kubectl create -f <a href="https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role-binding.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role-binding.yaml</a></p>
<p>$ kubectl create -f <a href="https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/0.13-dev/output/kafka/fluent-bit-configmap.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/0.13-dev/output/kafka/fluent-bit-configmap.yaml</a></p>
<p>After this getting error</p>
<p>/fluent-bit/bin/fluent-bit: error while loading shared libraries: librdkafka.so: cannot open shared object file: No such file or directory</p>
<p>And fluent-bit pod is creating but in CrashLoopBackOff</p>
<p>Ref - <a href="https://github.com/fluent/fluent-bit-kubernetes-logging" rel="nofollow noreferrer">https://github.com/fluent/fluent-bit-kubernetes-logging</a></p>
<p>Can any one suggest how to resolve this</p>

Jeebendu kumar Behera
<p>Two things:</p>
<ol>
<li><p>Deploy all from master branch. You seem to be installing Kafka configmap from developer branch while the rest is from master.</p>
</li>
<li><p>You skipped to create a Kafka deamonset. Do below.</p>
<p>$ kubectl create -f <a href="https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/output/kafka/fluent-bit-ds.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/output/kafka/fluent-bit-ds.yaml</a></p>
</li>
</ol>
