Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch plugin on Kubernetes

I need to restart the Elasticsearch node after installing the injest-attachment plugin on Kubernetes Engine on Google Cloud Platform. I have deployed Elasticsearch on a pod. What is the best way to restart the Elasticsearch nodes?

like image 236
Ben Abey Avatar asked Apr 19 '26 10:04

Ben Abey


1 Answers

If Elasticsearch is running directly on the VM:

systemctl restart elasticsearch

If Elasticsearch is running as a container on docker:

docker restart <container-id>

If Elasticsearch is running as a Kubernetes pod (deployed through a Kubernetes manifest):

  • update the image tag in the manifest if needed, and do kubectl apply
  • Or use kubectl replace or kubectl edit commands

On Kubernetes, ideally, you should use the declarative way of updating the manifests and then do a kubectl apply -f

like image 188
Ijaz Ahmad Avatar answered Apr 22 '26 07:04

Ijaz Ahmad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!