Skip to content

Commit 479080f

Browse files
committed
(DOCSP-41250): Backports DOCSP-40970 and DOCSP-40956 to v2.3. (#102)
* (DOCSP-40970): Updated the AtlasDeployment CRD examples. * (DOCSP-40970): Incorporated Jose's feedback.
1 parent 30c1463 commit 479080f

File tree

1 file changed

+40
-13
lines changed

1 file changed

+40
-13
lines changed

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

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ content: |
3838
3939
.. code-block:: sh
4040
41-
kubectl apply -f https://raw.githubusercontent.com/mongodb/mongodb-atlas-kubernetes/<version>/deploy/all-in-one.yaml
41+
kubectl apply -f https://raw.githubusercontent.com/mongodb/mongodb-atlas-kubernetes/v<version>/deploy/all-in-one.yaml
4242
4343
- If you want |ak8so| to watch only its |k8s-ns|, you must install
4444
the configuration files from the ``deploy/namespaced`` directory:
4545
4646
.. code-block:: sh
4747
48-
kubectl apply -f https://raw.githubusercontent.com/mongodb/mongodb-atlas-kubernetes/<version>/deploy/namespaced/crds.yaml
48+
kubectl apply -f https://raw.githubusercontent.com/mongodb/mongodb-atlas-kubernetes/v<version>/deploy/namespaced/crds.yaml
4949
5050
.. code-block:: sh
5151
52-
kubectl apply -f https://raw.githubusercontent.com/mongodb/mongodb-atlas-kubernetes/<version>/deploy/namespaced/namespaced-config.yaml
52+
kubectl apply -f https://raw.githubusercontent.com/mongodb/mongodb-atlas-kubernetes/v<version>/deploy/namespaced/namespaced-config.yaml
5353
5454
---
5555

@@ -118,8 +118,10 @@ title: "Create the ``AtlasDeployment`` custom resource."
118118
ref: create-atlasdeployment
119119
content: |
120120
121-
Run the following command to create an
121+
Run one of the following commands to create an
122122
:ref:`atlasdeployment-custom-resource` and create a {+cluster+}:
123+
124+
**Paid Tier:**
123125
124126
.. code-block:: sh
125127
@@ -137,18 +139,43 @@ content: |
137139
tags:
138140
- key: "environment"
139141
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
142+
replicationSpecs:
143+
- zoneName: US-Zone
144+
regionConfigs:
145+
- electableSpecs:
146+
instanceSize: M10
147+
nodeCount: 3
148+
providerName: AWS
149+
regionName: US_EAST_1
150+
priority: 7
149151
150152
EOF
151153
154+
**Free Tier:**
155+
156+
.. code-block:: sh
157+
158+
cat <<EOF | kubectl apply -f -
159+
apiVersion: atlas.mongodb.com/v1
160+
kind: AtlasDeployment
161+
metadata:
162+
name: my-atlas-cluster
163+
spec:
164+
projectRef:
165+
name: my-project
166+
deploymentSpec:
167+
clusterType: REPLICASET
168+
name: "Test-cluster"
169+
replicationSpecs:
170+
- regionConfigs:
171+
- regionName: US_EAST_1
172+
providerName: TENANT
173+
backingProviderName: AWS
174+
electableSpecs:
175+
instanceSize: M0
176+
nodeCount: 3
177+
EOF
178+
152179
To create a {+serverless-instance+}, see the
153180
:ref:`{+serverless-instance+} example <ak8so-serverless-instance>`.
154181

0 commit comments

Comments
 (0)