Need help configuring xpack with elasticsearch on own deploy to GKE

#1

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.

#2

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

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.
(David Pilato) #3

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

#4

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?

(David Pilato) #5

It's possible to trial then revert.

without affecting the ES secure endpoint

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

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

#6

Thank you for speedy response

(system) closed #7

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