@@ -2,7 +2,7 @@ stepnum: 1
2
2
title : " Register for an |service| account or log in."
3
3
ref : register-or-log-in-ak8so
4
4
content : |
5
-
5
+
6
6
:ref:`atlas-register-account` or :ref:`atlas-account-login`.
7
7
8
8
---
@@ -91,6 +91,8 @@ content: |
91
91
:setting:`spec.connectionSecretRef.name`. If unspecified, |ak8so|
92
92
uses the default connection |k8s-secret| previously set with your
93
93
API keys and organization ID.
94
+
95
+ Deploy the |ak8so| custom resource.
94
96
95
97
.. code-block:: sh
96
98
@@ -99,19 +101,14 @@ content: |
99
101
kind: AtlasProject
100
102
metadata:
101
103
name: my-project
104
+ labels:
105
+ app.kubernetes.io/version: 1.6.0
102
106
spec:
103
107
name: Test Atlas Operator Project
104
108
projectIpAccessList:
105
- - cidrBlock: "0.0.0.0/0"
106
- comment: "Allowing access to database from everywhere (only for Demo!) "
109
+ - ipAddress: <your-ip-address-range>
110
+ comment: "Adding your IP to Atlas access list "
107
111
EOF
108
-
109
- .. warning::
110
-
111
- The CIDR block in the example, ``0.0.0.0/0``, allows any client to
112
- connect to the |service| cluster. Do not use this IP address in
113
- production.
114
-
115
112
---
116
113
stepnum : 6
117
114
title : " Create the ``AtlasDeployment`` custom resource."
@@ -128,25 +125,21 @@ content: |
128
125
kind: AtlasDeployment
129
126
metadata:
130
127
name: my-atlas-cluster
128
+ labels:
129
+ app.kubernetes.io/version: 1.6.0
131
130
spec:
132
131
projectRef:
133
132
name: my-project
134
133
deploymentSpec:
135
134
clusterType: REPLICASET
136
135
name: "Test-cluster"
137
136
tags:
138
- - key: "environment"
139
- value: "production"
140
- replicationSpecs:
141
- - zoneName: US-Zone
142
- regionConfigs:
143
- - electableSpecs:
144
- instanceSize: M10
145
- nodeCount: 3
146
- providerName: AWS
147
- regionName: US_EAST_1
148
- priority: 7
149
-
137
+ - key: "environment",
138
+ value: "production"
139
+ providerSettings:
140
+ instanceSizeName: M10
141
+ providerName: AWS
142
+ regionName: US_EAST_1
150
143
EOF
151
144
152
145
To create a {+serverless-instance+}, see the
@@ -193,6 +186,8 @@ content: |
193
186
kind: AtlasDatabaseUser
194
187
metadata:
195
188
name: my-database-user
189
+ labels:
190
+ app.kubernetes.io/version: 1.6.0
196
191
spec:
197
192
roles:
198
193
- roleName: "readWriteAnyDatabase"
@@ -284,4 +279,4 @@ content: |
284
279
name: test-atlas-operator-project-test-cluster-theuser
285
280
key: connectionStringStandardSrv
286
281
287
- ...
282
+ ...
0 commit comments