How to Install or Setup Elasticsearch, Filebeat, Logstash, and Kibana (ELK Stack) in Kubernetes Cluster

 

 

Installation

  1. Clone the repository
      git clone https://github.com/shawon100/elasticsearch-logstash-kibana-kubernetes 
  1. Then add the helm repo
      helm repo add elastic https://helm.elastic.co
  1. Go to elasticsearch folder. Then Create and Apply the persistent volumes for elastic search.
      kubectl apply –f pv.yaml

          Install elasticsearch using helm values

      helm install elasticsearch elastic/elasticsearch --version="7.17.3" -f values.yaml
  1. Go to filebeat folder. Create and Apply the persistent volumes for filebeat.
      kubectl apply –f pv.yaml

            Install filebeat using helm values

       helm install filebeat elastic/filebeat --version="7.17.3" -f values.yaml
  1. Go to kibana folder, Install kibana using helm.
       helm install kibana  --version="7.17.3"  elastic/kibana

      Then change the host name according to your host name in ingress file and apply ingress

        kubectl apply –f .
  1. Go to logstash folder and apply the yamls
        kubectl apply –f .
  1. Check the pods and If all pods are in the Running status then go to your kibana host address to access the ELK

 


                     Download ELK PLG Stack Installation Books

 
Video Tutorial 

 


 

 



Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment