MongoDBKubernetes操作符独家设置
注意
在本页任何标注为 Ops Manager 的位置,您都可以替换为 Cloud Manager。
Kubernetes Operator 覆盖一些 Ops Manager 设置
您可以使用Kubernetes操作符配置的一些设置不能在Ops Manager 应用程序中设置或覆盖Kubernetes操作符。不管理的设置将被接受。
以下设置列表仅适用于Kubernetes。此列表可能在未来更改。
这些设置可以在自动化配置 页面上找到
auth.autoAuthMechanisms
auth.authoritativeSet
auth.autoPwd
auth.autoUser
auth.deploymentAuthMechanisms
auth.disabled
auth.key
auth.keyfile
auth.keyfileWindows
auth.usersWanted
auth.usersWanted[n].mechanisms
auth.usersWanted[n].roles
auth.usersWanted[n].roles[m].role
auth.usersWanted[n].roles[m].db
auth.usersWanted[n].user
auth.usersWanted[n].authenticationRestrictions
processes.authSchemaVersion
processes.cluster
(mongos processes)processes.featureCompatibilityVersion
processes.hostname
processes.name
processes.version
replicaSets._id
replicaSets.members._id
replicaSets.members.host
replicaSets.members
replicaSets.version
sharding.clusterRole
(config server)sharding.configServerReplica
sharding.name
sharding.shards._id
sharding.shards.rs
ssl.CAFilePath
ssl.autoPEMKeyFilePath
ssl.clientCertificateMode
除了自动化设置列表之外,Kubernetes操作符还使用来自监控和备份代理配置的外部属性。
backupAgentTemplate.username
backupAgentTemplate.sslPEMKeyFile
monitoringAgentTemplate.username
monitoringAgentTemplate.sslPEMKeyFile
示例
Kubernetes操作符创建了一个包含 3 个成员的副本集。
您将
storage.wiredTiger.engineConfig.cacheSizeGB
更改为40
。注意
此设置不在Kubernetes操作符独家设置列表中。
然后您使用Kubernetes操作符将副本集扩展到 5 个成员。
新成员上的
storage.wiredTiger.engineConfig.cacheSizeGB
仍然应该是40
。