# ELK on k8s with security enabled

**URL:** <https://discuss.elastic.co/t/elk-on-k8s-with-security-enabled/248763>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [September 16, 2020, 3:39am UTC](https://discuss.elastic.co/t/elk-on-k8s-with-security-enabled/248763 "2020-09-16T03:39:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vamsikrishna\_medeti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vamsikrishna_medeti/32/59108_2.png) [@vamsikrishna\_medeti](https://discuss.elastic.co/u/vamsikrishna_medeti)\
**Post date:** [September 16, 2020, 3:39am UTC](https://discuss.elastic.co/t/elk-on-k8s-with-security-enabled/248763/1 "2020-09-16T03:39:39Z")

</div>

I am planning to deploy Elastic Stack on kubernetes, I found many different ready made solutions in github (elastic official and others). But I didnt find anyone enabling transport and http security. Can you please let us know if we have any source where I can get the charts/scripts with which I can deploy ELK in k8s environment with security enabled?

Or is there any other way we can enable xpack without enabling security?

---

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [September 16, 2020, 6:37am UTC](https://discuss.elastic.co/t/elk-on-k8s-with-security-enabled/248763/2 "2020-09-16T06:37:12Z")

</div>

> [@vamsikrishna\_medeti](#):
>
> Can you please let us know if we have any source where I can get the charts/scripts with which I can deploy ELK in k8s environment with security enabled?

Hi, when using ECK security and TLS are enabled by default on both the http and the transport layer.

You can disable TLS for HTTP as [described here](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-tls-certificates.html#k8s-disable-tls). You can also allow access to your clusters without authentication by [enabling anonymous access](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/anonymous-access.html).

---

<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, 8:13am UTC](https://discuss.elastic.co/t/elk-on-k8s-with-security-enabled/248763/3 "2022-11-04T08:13:14Z")

</div>


