You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+60-39Lines changed: 60 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,41 @@
1
1
# MongoDB Enterprise Kubernetes Operator #
2
2
3
-
Welcome to the MongoDB Enterprise Kubernetes Operator. The Operator enables easy deploys of MongoDB into Kubernetes clusters, using our management, monitoring and backup platforms, Ops Manager and Cloud Manager. By installing this integration, you will be able to deploy MongoDB instances with a single simple command.
3
+
Welcome to the MongoDB Enterprise Kubernetes Operator. The Operator enables easy deploy of the following applications into Kubernetes clusters:
4
+
* MongoDB - Replica Sets, Sharded Clusters and Standalones, with authentication, TLS and many more options.
5
+
* Ops Manager - our enterprise management, monitoring and backup platform for MongoDB. The Operator can install and manage Ops Manager in Kubernetes for you.
4
6
5
-
Also the Operator allows to deploy Ops Manager into Kubernetes. Note, that currently this feature is **beta**. See more information below.
7
+
The Operator requires access to one of our database management tools - Ops Manager or Cloud Manager - to deploy MongoDB instances.
8
+
You may run Ops Manager either inside or outside Kubernetes, or may use Cloud Manager (cloud.mongodb.com) instead.
6
9
7
-
You can discuss this integration in our [Slack](https://community-slack.mongodb.com) - join the [#enterprise-kubernetes](https://mongo-db.slack.com/messages/CB323LCG5/) channel.
10
+
The Operator is currently Generally Available, supported by the [MongoDB Support Team](https://support.mongodb.com/). If you need urgent help, please file a support ticket.
11
+
For non-urgent requests, you may file a Github Issue here in the repo.
12
+
13
+
You can discuss this integration in our new [Community Forum](https://community.mongodb.com/) - please use the tag [enterprise-kubernetes-operator](https://community.mongodb.com/tags/enterprise-kubernetes-operator).
[Known Issues for Kubernetes Operator](https://docs.opsmanager.mongodb.com/current/reference/known-issues-k8s-beta)
29
+
[Known Issues for Kubernetes Operator](https://docs.mongodb.com/kubernetes-operator/stable/reference/known-issues/)
26
30
27
31
## Requirements ##
28
32
29
-
The MongoDB Enterprise Operator is compatible with Kubernetes v1.13 and above. It has been tested against Openshift 3.11.
33
+
Please refer to the [Installation Instructions](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/plan-k8s-operator-install/)
34
+
to see which Kubernetes and Openshift versions the Operator is compatible with
30
35
31
-
This Operator requires [Ops Manager](https://docs.opsmanager.mongodb.com/current/) or [Cloud Manager](https://cloud.mongodb.com/user#/cloud/login). In this document, when we refer to "Ops Manager", you may substitute "Cloud Manager". The functionality is the same.
36
+
To work with MongoDB resource this Operator requires [Ops Manager](https://docs.opsmanager.mongodb.com/current/) (Ops Manager can
37
+
be installed into the same Kubernetes cluster by the Operator or installed outside of the cluster manually)
38
+
or [Cloud Manager](https://cloud.mongodb.com/user#/cloud/login).
32
39
> If this is your first time trying the Operator, Cloud Manager is easier to get started
33
40
34
41
@@ -56,7 +63,7 @@ This will create a new `crd` in your cluster, `MongoDB`. This new object will be
56
63
57
64
#### Operator Installation
58
65
59
-
* In order to install the Operator in OpenShift, please follow [these](openshift-install.md) instructions instead.
66
+
>In order to install the Operator in OpenShift, please follow [these](openshift-install.md) instructions instead.
60
67
61
68
This operator can also be installed using yaml files, in case you are not using Helm. You may apply the config directly from github clone this repo, and apply the file
62
69
@@ -82,7 +89,7 @@ You need to specify the image pull secret name using `--set registry.imagePullSe
82
89
83
90
Check the end of the page for instructions on how to remove the Operator.
84
91
85
-
## MongoDB object ##
92
+
## MongoDB Resource ##
86
93
87
94
*This section describes how to create the MongoDB resource. Follow the next section on how to work with Ops Manager resource.*
88
95
@@ -91,19 +98,19 @@ Check the end of the page for instructions on how to remove the Operator.
91
98
For the Operator to work, you will need the following information:
92
99
93
100
* Base URL - the URL of an Ops Manager instance (for Cloud Manager use `https://cloud.mongodb.com`)
94
-
* (optionally) Project Name - the name of an Ops Manager Project where MongoDBs will be deployed into. It will be
95
-
created by the Operator if it doesn't exist (and this is the recommended way instead of reusing the project created
101
+
* (optionally) Project Name - the name of an Ops Manager Project where MongoDBs will be deployed into. It will be
102
+
created by the Operator if it doesn't exist (and this is the recommended way instead of reusing the project created
96
103
in OpsManager directly). If omitted the name of the MongoDB resource will be used as a project name.
97
104
* (optionally) Organization ID - the ID of the organization which the Project belongs to. The Operator will create
98
105
an Organization with the same name as the Project if Organization ID is omitted.
99
106
* API Credentials. This can be any pair of:
100
-
** Public and Private Programmatic API keys. They correspond to `user` and `publicApiKey` fields in the Secret storing
101
-
credentials. More information about the way to create them using Ops Manager UI can be found
107
+
* Public and Private Programmatic API keys. They correspond to `user` and `publicApiKey` fields in the Secret storing
108
+
credentials. More information about the way to create them using Ops Manager UI can be found
> Note, that if `orgId` is skipped then the new organization named `projectName` will be automatically created and new
130
137
project will be added there.
138
+
> If `projectName` is skipped the project created in Ops Manager will get the same name as the MongoDB object
131
139
132
140
Apply this file to create the new `Project`:
133
141
134
142
kubectl apply -f my-project.yaml
135
143
136
144
### Credentials ###
137
145
138
-
For a user to be able to create or update objects in this Ops Manager Project they need a Public API Key. These will be held by Kubernetes as a `Secret` object. You can create this Secret with the following command:
146
+
For a user to be able to create or update objects in this Ops Manager Project they need either a Public API Key or a
147
+
Programmatic API Key. These will be held by Kubernetes as a `Secret` object. You can create this Secret with the following command:
A MongoDB object in Kubernetes is a MongoDB (short name `mdb`). We are going to create a replica set to test that everything is working as expected. There is a MongoDB replica set yaml file in `samples/mongodb/minimal/replicaset.yaml`.
155
+
A MongoDB resource in Kubernetes is a MongoDB (short name `mdb`). We are going to create a replica set to test that everything is working as expected. There is a MongoDB replica set yaml file in `samples/mongodb/minimal/replica-set.yaml`.
147
156
148
157
If you have a correctly created Project with the name `my-project` and Credentials stored in a secret called `my-credentials` then, after applying this file then everything should be running and a new Replica Set with 3 members should soon appear in Ops Manager UI.
0 commit comments