How to install plugins on Helm deployment

Hi,

I’ve been searching the documentation for some information around installing custom plugins on my cluster that is deployed on k8s via Helm. I can’t seem to find anything concrete and am a bit confused. For context, I’m looking to install the Azure repository to enable snapshots.

I’ve been able to attach single pods in my Kubernetes setup and install the plugin manually via

sudo bin/elasticsearch-plugin install repository-azure

But this approach doesn’t make much sense as I’d have to attach to every pod in the Kubernetes cluster and do the same, and I don’t think it would take effect without a restart which I don’t think would persist.

Even with Azure repository plugin installed I would then need to configure it with my Azure storage settings and I’m not sure where I would do this either, my best guess is via elasticsearch.yml.

Any suggestions or advice would be of great help.

Thanks!

1 Like