I am trying to run mongodb via helm. I want to run 1 primary replica and 2 secondary replicas.
I would like to setup the following naming for the 3 mongodb pods once they are created: mongo-0 mongo-1 mongo-2 And lets say that mongo-0 would be primary.
When I run the following command
helm install --name mongo ~/charts/stable/mongodb --set replicaSet.enabled=true,fullnameOverride=mongo
The pods do not have require naming:
kubectl get pods NAME READY STATUS RESTARTS AGE mongo-arbiter-0 1/1 Running 0 15s mongo-primary-0 0/1 Running 0 15s mongo-secondary-0 0/1 Running 0 15s
Please any advice how can I change that ? I tried it also via changing values-production.yml but the same output.