How to customise mongod options in Operator

Hi there,

I am using the Kubernetes MongoDB Operator.

https://www.percona.com/doc/kubernetes-operator-for-psmongodb/operator.html#operator-mongod-section

I would like to modify some net options which are passed to mongod, however they are not included in the available operator configuration. For example, I need to use a password for the certificates I am using.

So - how can I modify configuration options which aren’t available in cr.yaml?

Thanks

1 Like

Is this possible through config maps? There is a Jira issue to add documentation around this, which makes me think it might be possible

https://jira.percona.com/browse/K8SPSMDB-172

1 Like

It seems like the functionality I am trying to use has not been released yet. I am working from the Github repo which has confguration options available for the replica set, which seems to have been added here, however it is not working for me K8SPSMDB-173: add mongod custom configuration via ConfigMaps by ollevche · Pull Request #671 · percona/percona-server-mongodb-operator · GitHub

I am guess I will need to use release 1.9.0 of the operator rather than 1.8.0. When will this version be released?

Thank you

1 Like

Hello @kylem ,

you are correct, it will be added to 1.9.0.
The release will be at the beginning of July.

1 Like

@kylem 1.9.0 was released. Please let me know if the issue is resolved now.

1 Like

Hi @spronin - yes, configuration of mongod works great after the latest release.

Cheers

1 Like