how to install elk in kubernetes cluster
You can deploy it using helm charts, check the bitnami repo or the official repo:
Or you can install it using the kubernetes resources, check this article:
Hope It helps.
do i need to save statefulset yml in seperate file or in the rbac.yml which we already created above
@Mohamed Ayman can you plz provide the details and step by step method for setting up the elk in cluster
@anup nepal I have worked on the architecture of multiple production environments that hold hundreds of deployments with daily releases via CI/CD. My honest recommendation for you is to provision your ELK stack outside the K8s cluster to avoid complications. However, if you must do it inside K8s, please make sure you understand how to configure StatefulSets and how to manage your Volumes (PV, PVC, SC).
Remember that K8s was designed with stateless applications in mind (such as most microservices). For stateful applications such as MySQL, ELK, etc. you are going to need to manually configure, maintain and back-up your storage – added complexity.