I have installed https://github.com/kubernetes/charts/tree/master/incubator/elasticsearch and changed the image to non-oss and x-pack installed to false.
elasticsearch-plugin install x-pack
ERROR: this distribution of Elasticsearch contains X-Pack by default
elasticsearch-plugin remove x-pack
-> removing [x-pack]...
ERROR: plugin [x-pack] not found; run 'elasticsearch-plugin list' to get list of installed plugins
I am not sure how to install x-pack from default docker image docker.elastic.co/elasticsearch/elasticsearch