Describe the issue:
We run Opensearch and Opensearch-Dashboards in a Kubernetes environment using Docker containers. We are looking to integrate cert-manager service to handle automatic updates to TLS certificates within the environment. Are Opensearch and Dashboards setup in a way that it can detect these updates and apply the new certificate automatically or does a hard restart of the services need to happen? If a restart is neccesary, are there any considerations we would need to know about? Thanks
Yes, the restart is necessary as far as I am aware.
Some of the things to consider :
Disable shard allocation.
cluster.routing.allocation.enable: "primaries"
Enables or disables allocation for specific kinds of shards:
– “all” – Allows shard allocation for all types of shards.
– “primaries” – Allows shard allocation for primary shards only.
– “new_primaries” – Allows shard allocation for primary shards for new indexes only.
– “none” – No shard allocations are allowed for any indexes.
– Default is “all”.
see options here: Cluster settings - OpenSearch Documentation
Hi @raman004 ,
it would be really great if you share the steps you followed for this, i assume you have used kubernetes cronjob to trigger reloadcerts API.