How to deploy logstash with persistent volume on kubernetes? How to deploy logstash with persistent volume on kubernetes? kubernetes kubernetes

How to deploy logstash with persistent volume on kubernetes?


For my containers I have a script I have ran on Container Deployments and it works to install the plugins and then run logstash.Post Arg> sh /usr/share/logstash/config/plugins.sh

#!binbashecho running post install scripts for plugins..;logstash-plugin install logstash-filter-sentimentalizerlogstash-plugin install logstash-input-mysqlecho finished post install scripts for plugins..;sleep 1exec logstash