EFK Set

Elasticsearch will be installed first as a Statefulset which will store all the data as indexed Fluend will be installed as daemonset so that logs can be captured from all Nodes Kibana will be installed as deployment so that it can invokes the Elasticsearch Server and run all the dashboards.

1. Install Elasticsearch

kubectl create -f statefulset.yaml
kubectl create -f service.yaml

2. Install Kibana :

kubectl create -f deployment.yaml
kubectl create -f service.yaml

3. Install Fluentd

kubectl create -f clusterrole.yaml
kubectl create -f serviceaccount.yaml
kubectl create -f clusterrolebinding.yaml
kubectl create -f daemonset.yaml

4. Validate the EFK Cluster

kubectl run nginx --image=nginx --restart=Never
kubectl run mycurlpod --image=curlimages/curl -i --tty -- sh



önemli not statefull set tarafında vol ve pvc tarafında verim alınamaz ise son eklediğim deployment seti kullanınız .*****************:) son dk gelişmesi