# Need help configuring xpack with elasticsearch on own deploy to GKE

**URL:** <https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396>\
**Category:** Elasticsearch\
**Created:** [March 14, 2019, 5:06pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396 "2019-03-14T17:06:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gruido](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gruido](https://discuss.elastic.co/u/Gruido)\
**Post date:** [March 14, 2019, 5:06pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/1 "2019-03-14T17:06:23Z")

</div>

Need to know where and how to add xpack.security.enable: true in GKE K8s manifest/yml  
I know that by default when I deploy elasticsearch, xpack isn't enabled but is install so I could authenticate a user without the need of using kibana.

---

<div class="post-metadata">

**Author:** ![Gruido](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gruido](https://discuss.elastic.co/u/Gruido)\
**Post date:** [March 26, 2019, 8:34pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/2 "2019-03-26T20:34:49Z")

</div>

I also can not configure xpack security on ubuntu 18.04 using a docker image that I have pull. I followed the tutorial and get this

```auto
Unexpected response code [403] from calling GET http://172.17.0.2:9200/_xpack/security/_authenticate?pretty
It doesn't look like the X-Pack security feature is available on this Elasticsearch node.
Please check if you have installed a license that allows access to X-Pack Security feature.

ERROR: X-Pack Security is not available.

```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 26, 2019, 11:00pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/3 "2019-03-26T23:00:28Z")

</div>

You need to have a commercial license or activate a trial.

---

<div class="post-metadata">

**Author:** ![Gruido](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gruido](https://discuss.elastic.co/u/Gruido)\
**Post date:** [March 27, 2019, 6:10pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/4 "2019-03-27T18:10:42Z")

</div>

Thanks for the reply, I guess I haven't found the docs in ref. to ES licenses that describe the full  
configuration of each licenses. I have a few question about that one, will it be possible to have trail and revert back to basic without affecting the ES secure endpoint or indexing to ES?  
Second, will basic be efficient enough to run in production for DB query only?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 27, 2019, 8:08pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/5 "2019-03-27T20:08:29Z")

</div>

It's possible to trial then revert.

> without affecting the ES secure endpoint

Security is only in gold/plat level. Not in basic.

> [@Gruido](#):
>
> Second, will basic be efficient enough to run in production for DB query only?

Yes. There's no difference, efficiency wise, between the pure OSS version, the Basic one or with a commercial license.

---

<div class="post-metadata">

**Author:** ![Gruido](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gruido](https://discuss.elastic.co/u/Gruido)\
**Post date:** [March 28, 2019, 4:09pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/6 "2019-03-28T16:09:44Z")

</div>

Thank you for speedy response

---

<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:** [April 25, 2019, 4:09pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396/7 "2019-04-25T16:09:50Z")

</div>

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