- Reference >
- MongoDB Enterprise Kubernetes Operator Installation Settings >
- MongoDB Enterprise Kubernetes Operator Helm Installation Settings
MongoDB Enterprise Kubernetes Operator Helm Installation Settings¶
On this page
- appDb.name
- appDb.version
- database.name
- database.version
- initAppDb.name
- initAppDb.version
- initDatabase.name
- initDatabase.version
- initOpsManager.name
- initOpsManager.version
- managedSecurityContext
- namespace
- needsCAInfrastructure
- operator.deployment_name
- operator.env
- operator.name
- operator.version
- operator.watchNamespace
- operator.watchedResources
- opsManager.name
- registry.appDb
- registry.imagePullSecrets
- registry.initAppDb
- registry.initOpsManager
- registry.operator
- registry.opsManager
- subresourceEnabled
To provide optional settings, edit the Helm values YAML file that corresponds to your deployment type in the directory where you cloned the Kubernetes Operator repository:
- Vanilla Kubernetes: helm_chart/values.yaml
- OpenShift: helm_chart/values-openshift.yaml
If the setting that you want to add doesn’t exist in the values YAML file, add its key and value:
Example
Tip
Alternatively, you can pass these values as options when you apply the Helm Chart:
- Kubernetes
- OpenShift
appDb.name¶
Name of the Application Database image.
The default value is mongodb-enterprise-appdb.
Example
appDb.version¶
Version of the image that contains the MongoDB Agent that the Application Database uses.
The default value is 10.2.15.5958-1_4.2.11-ent.
Example
database.name¶
Name of the MongoDB Enterprise Database image.
The default value is mongodb-enterprise-database.
Example
database.version¶
Version of the MongoDB Enterprise Database image that the Kubernetes Operator deploys.
Example
initAppDb.name¶
Name of the initContainer
image that contains the Application
Database start-up scripts and the readiness probe.
The default value is mongodb-enterprise-init-appdb.
Example
initAppDb.version¶
Version of the initContainer
image that contains the Application
Database start-up scripts and the readiness probe.
The default value is 1.0.6.
Example
initDatabase.name¶
Name of the initContainer
image that contains the MongoDB Agent
start-up scripts and the readiness probe.
The default value is mongodb-enterprise-init-database.
Example
initDatabase.version¶
Version of the initContainer
image that contains the MongoDB Agent
start-up scripts and the readiness probe.
The default value is 1.0.2.
Example
initOpsManager.name¶
Version of the initContainer
image that contains the Ops Manager
start-up scripts and the readiness probe.
The default value is mongodb-enterprise-init-ops-manager.
Example
initOpsManager.version¶
Version of the initContainer
image that contains the Ops Manager
start-up scripts and the readiness probe.
The default value is 1.0.3.
Example
managedSecurityContext¶
Flag that determines whether or not the Kubernetes Operator inherits the securityContext settings that your Kubernetes cluster manages.
This value must be true if you want to run the Kubernetes Operator in OpenShift or in a restrictive environment.
- Kubernetes
- OpenShift
The default value is false.
Example
The default value is true.
Example
namespace¶
namespaces in which you want to deploy the Kubernetes Operator.
To use a namespace other than the default, specify the namespace in which you want to deploy the Kubernetes Operator.
The default value is mongodb.
Example
needsCAInfrastructure¶
Flag that determines whether Kubernetes creates a ClusterRole that allows the Kubernetes Operator to sign TLS certificates using the certificates.k8s.io API.
Example
The default value is true.
operator.deployment_name¶
Name of the Kubernetes Operator container.
The default value is mongodb-enterprise-operator.
Example
operator.env¶
Label for the Kubernetes Operators deployment environment. This value affects the default timeouts and the logging level and format:
If the value is | Log Level is set to | Log Format is set to |
---|---|---|
dev |
debug | text |
prod |
info | json |
The default value is prod.
Example
operator.name¶
Name that Kubernetes assigns to Kubernetes Operator objects, such as Deployments, ServiceAccounts, Roles, and Pods.
This value also corresponds to the name of the container registry where the Kubernetes Operator is located.
The default value is mongodb-enterprise-operator.
Example
operator.version¶
Version of the Kubernetes Operator that you want to deploy.
The default value is master.
Example
operator.watchNamespace¶
Namespace that the Kubernetes Operator watches for MongoDB Kubernetes resource changes. If this namespace differs from the default, ensure that the Operator’s ServiceAccount can access this namespace.
Use * to specify all namespaces. To watch all namespaces, you
must also assign the ClusterRole to the mongodb-enterprise-operator
ServiceAccount, which is the ServiceAccount used to run the
Kubernetes Operator.
Important
To deploy Ops Manager and MongoDB Kubernetes resources in a namespace other than the one where you deploy the Kubernetes Operator, see Set Scope for MongoDB Enterprise Kubernetes Operator Deployment for values you must use and additional steps you might have to perform.
The default value is <metadata.namespace>.
Example
operator.watchedResources¶
Custom resources that the Kubernetes Operator watches.
The Kubernetes Operator installs the CustomResourceDefinitions for and watches only the resources you specify.
The Kubernetes Operator accepts the following values:
Value | Description |
---|---|
mongodb |
Install the CustomResourceDefinitions for the database resources and also watch those resources. |
mongodbusers |
Install the CustomResourceDefinitions for the MongoDB user resources and also watch those resources. |
opsmanagers |
Install the CustomResourceDefinitions for the Ops Manager resources and also watch those resources. |
Example
opsManager.name¶
Name of the Ops Manager image.
The default value is mongodb-enterprise-ops-manager.
Example
registry.appDb¶
URL of the repository from which the Kubernetes Operator downloads the Application Database image.
- Kubernetes
- OpenShift
The default value is quay.io/mongodb.
Example
The default value is registry.connect.redhat.com/mongodb.
Example
registry.imagePullSecrets¶
secret that contains the credentials required to pull images from the repository.
Important
OpenShift requires this setting. Define it in this file or pass it when you install the Kubernetes Operator using Helm.
Example
registry.initAppDb¶
URL of the repository from which the initContainer
image that
contains the Application Database start-up scripts and the readiness
probe is downloaded.
- Kubernetes
- OpenShift
The default value is quay.io/mongodb.
Example
The default value is registry.connect.redhat.com/mongodb.
Example
registry.initOpsManager¶
URL of the repository from which the initContainer
image that
contains the Ops Manager start-up scripts and the readiness probe is
downloaded.
- Kubernetes
- OpenShift
The default value is quay.io/mongodb.
Example
The default value is registry.connect.redhat.com/mongodb.
Example
registry.operator¶
Repository from which the Kubernetes Operator image is pulled. Specify this value if you want to pull the Kubernetes Operator image from a private repository.
- Kubernetes
- OpenShift
The default value is quay.io/mongodb.
Example
The default value is registry.connect.redhat.com/mongodb.
Example
registry.opsManager¶
URL of the repository from which the image for an Ops Manager resource is downloaded.
- Kubernetes
- OpenShift
The default value is quay.io/mongodb.
Example
The default value is registry.connect.redhat.com/mongodb.
Example
subresourceEnabled¶
Flag that indicates whether subresources can be defined in the Kubernetes Operator CustomResourceDefinition.
Set this setting to false if installing the Kubernetes Operator CustomResourceDefinition fails on an OpenShift 3.11 cluster.
The default value is true.
Example