We have a statefulset in Kubernetes. In more detail, we use ECK to run an Elasticsearch cluster. We want to run some configuration commands to configure our Elasticsearch cluster after that all pods are in the ready status.
How we can run such commands in Kubernetes?
Can we use Kubernetes job to achieve our goal?