# ECK on IKS with fluentd. How to deal with secrets

**URL:** <https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [August 19, 2019, 2:27pm UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757 "2019-08-19T14:27:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![O\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_k/32/52424_2.png) [@O\_K](https://discuss.elastic.co/u/O_K)\
**Post date:** [August 19, 2019, 2:27pm UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/1 "2019-08-19T14:27:23Z")

</div>

Hello, I'm checking [Quickstart | Elastic Cloud on Kubernetes [2.10] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html) and deployed elasticsearch + kibana on IKS with no major issues. Now I'm trying to deploy fluentd with helm chart

> helm install stable/fluentd-elasticsearch

and obviously receive some security error. Please let me know how to deal with this

> 2019-08-19 14:13:17 +0000 [warn]: suppressed same stacktrace  
> 2019-08-19 14:13:17 +0000 [warn]: [elasticsearch] failed to flush the buffer. retry\_time=22 next\_retry\_seconds=2019-08-19 14:13:48 +0000 chunk="590753a76d953933a14e9c6883b6892e" error\_class=Fluent::Plugin::ElasticsearchOutput::ConnectionFailure error="Can not reach Elasticsearch cluster ({:host=\>"elasticsearch-client", :port=\>9200, :scheme=\>"http"})!"  
> 2019-08-19 14:13:17 +0000 [warn]: suppressed same stacktrace  
> 2019-08-19 14:13:32 +0000 [warn]: [kubelet.log] got incomplete line before first line from /var/log/kubelet.log:  
> "Aug 19 14:13:32 kube-bld65cjd0gighkrkfff0-mycluster-default-00000172 kubelet.service[24449]: W0819 14:13:32.675534  
> 24449 kubelet\_pods.go:832] Unable to retrieve pull secret kube-system/bluemix-default-secret for kube-system/ibm-keepalived-watcher-pcb7h due to secrets  
> "bluemix-default-secret" not found. The image pull may not succeed.\n"  
> 2019-08-19 14:13:37 +0000 [warn]: [kubelet.log] got incomplete line before first line from /var/log/kubelet.log:  
> "Aug 19 14:13:37 kube-bld65cjd0gighkrkfff0-mycluster-default-00000172 kubelet.service[24449]: W0819 14:13:37.674962  
> 24449 kubelet\_pods.go:832] Unable to retrieve pull secret kube-system/bluemix-default-secret for kube-system/public-crbld65cjd0gighkrkfff0-alb1-566c8969f6-wrcwf due to secrets  
> "bluemix-default-secret" not found. The image pull may not succeed.\n"

---

<div class="post-metadata">

**Author:** ![Anya\_Sabo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anya_sabo/32/49903_2.png) [@Anya\_Sabo](https://discuss.elastic.co/u/Anya_Sabo)\
**Post date:** [August 19, 2019, 3:11pm UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/2 "2019-08-19T15:11:46Z")

</div>

Hello, it looks like that chart has been deprecated but the new repo documents how to add ES auth (the `elasticsearch.auth` config section):

> **[kiwigrid/helm-charts](https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch)**
>
> Kiwigrid Helm charts for Kubernetes. Contribute to kiwigrid/helm-charts development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![O\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_k/32/52424_2.png) [@O\_K](https://discuss.elastic.co/u/O_K)\
**Post date:** [August 21, 2019, 1:28am UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/3 "2019-08-21T01:28:33Z")

</div>

@Anya_Sabo  
Thank you, this helped

---

<div class="post-metadata">

**Author:** ![O\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_k/32/52424_2.png) [@O\_K](https://discuss.elastic.co/u/O_K)\
**Post date:** [August 21, 2019, 4:16pm UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/4 "2019-08-21T16:16:24Z")

</div>

@Anya_Sabo

Do you have any idea how to fix this issue with fluentd on IBM IKS?

> <https://github.com/kiwigrid/helm-charts/issues/168>

I need Dockerfile which is used for helmchart [kiwigrid/helm-charts](https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch)

Because these Dockerfiles are different [https://github.com/fluent/fluentd-kubernetes-daemonset/tree/master/docker-image/v1.4](https://github.com/fluent/fluentd-kubernetes-daemonset/tree/master/docker-image/v1.4)

---

<div class="post-metadata">

**Author:** ![Anya\_Sabo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anya_sabo/32/49903_2.png) [@Anya\_Sabo](https://discuss.elastic.co/u/Anya_Sabo)\
**Post date:** [August 21, 2019, 5:03pm UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/5 "2019-08-21T17:03:24Z")

</div>

Hey @O_K, can you clarify what problem you're having? That said I'm not too familiar with the different fluentd charts, so if those are what you're having issues with it may be more helpful to go through the support routes those projects use.

---

<div class="post-metadata">

**Author:** ![O\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_k/32/52424_2.png) [@O\_K](https://discuss.elastic.co/u/O_K)\
**Post date:** [August 25, 2019, 7:28pm UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/6 "2019-08-25T19:28:10Z")

</div>

On IBM IKS there is some mounting issue while using fluentd helm chart (I think I could fix it after playing with fluentd Dockerfile I found) for docker log volumes (/var/log/pods /var/log/containers), all in all, I started using Filebeat instead of fluentd and it works for me, at least I can see PODs logs in Kibana

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 7:21am UTC](https://discuss.elastic.co/t/eck-on-iks-with-fluentd-how-to-deal-with-secrets/195757/7 "2022-11-04T07:21:54Z")

</div>


