OpenSearch Rolling Upgrade through helm chart / kubernetes

Hello dear people, I have read this page and clearly explains the proper way of upgrading a cluster online and there are to important steps:

  1. Disable/enable shard replication
  2. Wait for green status before proceeding with other nodes

how you handle upgrade process properly with helm on kubernetes? because if we just update the image from helm chart I do not think it would obey above rules, usually we get red status (for around 10m) I assume because above 2 steps skipped.

Hello,

You can try to change the updateStrategy to OnDelete on your helm values

This way you will have full control of the upgrade process via deleting the pod you wish to upgrade, and make sure the cluster manager is the last one you’ll delete/update.