I want create xpack.security.enabled=false cluster, but get this error when I want to create it.
here is the yaml file
apiVersion: elasticsearch.k8s.elastic.co/v1alpha1
kind: Elasticsearch
metadata:
name: noauth
spec:
version: 7.1.0
nodes:
This is by design: we don't support running clusters with security disabled.
+1
It is better to let the users choose.
@wangycc @Pandoraemon You can disable it by setting on the node sets the following:
env:
- name: xpack.security.enabled
value: "false"
- name: READINESS_PROBE_PROTOCOL
value: http
This should disable it via the env var settings in the docker container's entrypoint and the latter should tell the readiness probe to use proper protocol.
@Battleroid Thanks
@wangycc @Pandoraemon You can disable it by setting on the node sets the following:
env: - name: xpack.security.enabled value: "false" - name: READINESS_PROBE_PROTOCOL value: httpThis should disable it via the env var settings in the docker container's entrypoint and the latter should tell the readiness probe to use proper protocol.
Is it safe for cluster upgrades?
Most helpful comment
+1
It is better to let the users choose.