elastic xpack.security.enabled

main
ycz008 2023-06-07 15:17:47 +08:00
parent 3f8acc5a7b
commit bb0a91520f
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ spec:
- name: cluster.initial_master_nodes - name: cluster.initial_master_nodes
value: "elastic-0,elastic-1,elastic-2" value: "elastic-0,elastic-1,elastic-2"
- name: xpack.security.enabled - name: xpack.security.enabled
value: "false" value: "true"
- name: xpack.monitoring.collection.enabled - name: xpack.monitoring.collection.enabled
value: "true" value: "true"
- name: ES_JAVA_OPTS - name: ES_JAVA_OPTS

View File

@ -8,6 +8,7 @@ data:
server.host: 0.0.0.0 server.host: 0.0.0.0
elasticsearch.hosts: [ "http://elastic:9200" ] elasticsearch.hosts: [ "http://elastic:9200" ]
monitoring.ui.container.elasticsearch.enabled: true monitoring.ui.container.elasticsearch.enabled: true
xpack.security.enabled: true
elasticsearch.username: kibana-admin elasticsearch.username: kibana-admin
elasticsearch.password: admin123 elasticsearch.password: admin123
--- ---