MongoDBKubernetes操作符独家设置
注意
在本页任何标注为 Ops Manager 的位置,您都可以替换为 Cloud Manager。
Kubernetes Operator 覆盖一些 Ops Manager 设置
您可以使用Kubernetes操作符配置的一些设置不能在Ops Manager 应用程序中设置或覆盖Kubernetes操作符。不管理的设置将被接受。
以下设置列表仅适用于Kubernetes。此列表可能在未来更改。
这些设置可以在自动化配置 页面上找到
auth.autoAuthMechanismsauth.authoritativeSetauth.autoPwdauth.autoUserauth.deploymentAuthMechanismsauth.disabledauth.keyauth.keyfileauth.keyfileWindowsauth.usersWantedauth.usersWanted[n].mechanismsauth.usersWanted[n].rolesauth.usersWanted[n].roles[m].roleauth.usersWanted[n].roles[m].dbauth.usersWanted[n].userauth.usersWanted[n].authenticationRestrictionsprocesses.authSchemaVersionprocesses.cluster(mongos processes)processes.featureCompatibilityVersionprocesses.hostnameprocesses.nameprocesses.versionreplicaSets._idreplicaSets.members._idreplicaSets.members.hostreplicaSets.membersreplicaSets.versionsharding.clusterRole(config server)sharding.configServerReplicasharding.namesharding.shards._idsharding.shards.rsssl.CAFilePathssl.autoPEMKeyFilePathssl.clientCertificateMode
除了自动化设置列表之外,Kubernetes操作符还使用来自监控和备份代理配置的外部属性。
backupAgentTemplate.usernamebackupAgentTemplate.sslPEMKeyFilemonitoringAgentTemplate.usernamemonitoringAgentTemplate.sslPEMKeyFile
示例
Kubernetes操作符创建了一个包含 3 个成员的副本集。
您将
storage.wiredTiger.engineConfig.cacheSizeGB更改为40。注意
此设置不在Kubernetes操作符独家设置列表中。
然后您使用Kubernetes操作符将副本集扩展到 5 个成员。
新成员上的
storage.wiredTiger.engineConfig.cacheSizeGB仍然应该是40。