Skip to content

Commit 203e98f

Browse files
DOCSP-38118v2.2 -- Backport DOCSP-38118 to v2.2 (#95)
1 parent 5468ed8 commit 203e98f

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

source/includes/steps-ak8so-quick-start.yaml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ stepnum: 1
22
title: "Register for an |service| account or log in."
33
ref: register-or-log-in-ak8so
44
content: |
5-
5+
66
:ref:`atlas-register-account` or :ref:`atlas-account-login`.
77
88
---
@@ -91,6 +91,8 @@ content: |
9191
:setting:`spec.connectionSecretRef.name`. If unspecified, |ak8so|
9292
uses the default connection |k8s-secret| previously set with your
9393
API keys and organization ID.
94+
95+
Deploy the |ak8so| custom resource.
9496
9597
.. code-block:: sh
9698
@@ -99,19 +101,14 @@ content: |
99101
kind: AtlasProject
100102
metadata:
101103
name: my-project
104+
labels:
105+
app.kubernetes.io/version: 1.6.0
102106
spec:
103107
name: Test Atlas Operator Project
104108
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"
107111
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-
115112
---
116113
stepnum: 6
117114
title: "Create the ``AtlasDeployment`` custom resource."
@@ -128,25 +125,21 @@ content: |
128125
kind: AtlasDeployment
129126
metadata:
130127
name: my-atlas-cluster
128+
labels:
129+
app.kubernetes.io/version: 1.6.0
131130
spec:
132131
projectRef:
133132
name: my-project
134133
deploymentSpec:
135134
clusterType: REPLICASET
136135
name: "Test-cluster"
137136
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
150143
EOF
151144
152145
To create a {+serverless-instance+}, see the
@@ -193,6 +186,8 @@ content: |
193186
kind: AtlasDatabaseUser
194187
metadata:
195188
name: my-database-user
189+
labels:
190+
app.kubernetes.io/version: 1.6.0
196191
spec:
197192
roles:
198193
- roleName: "readWriteAnyDatabase"
@@ -284,4 +279,4 @@ content: |
284279
name: test-atlas-operator-project-test-cluster-theuser
285280
key: connectionStringStandardSrv
286281
287-
...
282+
...

0 commit comments

Comments
 (0)