ELK
Elasticsearch, Logstash, Kibana
Deploy Elasticsearch
Setup the host node
sysctl -w vm.max_map_count=262144mkdir /storage/storage-001/mnt-elasticsearch
chown nobody:nogroup /storage/storage-001/mnt-elasticsearch/Create the namespace
kubectl create namespace elkCreate the ConfigMap
cat <<EOF >>elasticsearch.yml
cluster.name: "docker-cluster"
network.host: 0.0.0.0
discovery.zen.minimum_master_nodes: 1
discovery.type: single-node
EOFDeploy Elasticsearch
Create Elasticsearch service
Test
Deploy Logstash
Create the ConfigMap (config file)
Create the ConfigMap (pipeline)
Deploy
Create service
Test
Deploy Kibana
Create the ConfigMap
Deploy
Create service
Test
Deploy filebeat
Last updated