yelang_001

helm 安装efk

使用helm简单安装efk 设置了登录密码 去掉了就绪检查 

 

bin/elasticsearch-setup-passwords interactive

es-value.yml

-----------

persistence:
enabled: false
esConfig:
elasticsearch.yml: |
cluster.name: "cluster"
network.host: 0.0.0.0
xpack.security.enabled: true

kibana.yml

------

extraEnvs:
- name: 'ELASTICSEARCH_USERNAME'
value: kibana
- name: 'ELASTICSEARCH_PASSWORD'
value: 111111
kibanaConfig:
kibana.yml: |
i18n.locale: "zh-CN"

filebeat.yml

-----

daemonset:
filebeatConfig:
filebeat.yml: |
filebeat.inputs:
- type: container
paths:
- /var/log/containers/*.log
processors:
- add_kubernetes_metadata:
host: ${NODE_NAME}
matchers:
- logs_path:
logs_path: "/var/log/containers/"

output.elasticsearch:
host: '${NODE_NAME}'
hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}'
username: elastic
password: 1111111

 

posted on 2021-11-22 17:06  yelang_001  阅读(149)  评论(0编辑  收藏  举报

导航