@@ -38,18 +38,18 @@ content: |
38
38
39
39
.. code-block:: sh
40
40
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
42
42
43
43
- If you want |ak8so| to watch only its |k8s-ns|, you must install
44
44
the configuration files from the ``deploy/namespaced`` directory:
45
45
46
46
.. code-block:: sh
47
47
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
49
49
50
50
.. code-block:: sh
51
51
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
53
53
54
54
---
55
55
@@ -118,8 +118,10 @@ title: "Create the ``AtlasDeployment`` custom resource."
118
118
ref : create-atlasdeployment
119
119
content : |
120
120
121
- Run the following command to create an
121
+ Run one of the following commands to create an
122
122
:ref:`atlasdeployment-custom-resource` and create a {+cluster+}:
123
+
124
+ **Paid Tier:**
123
125
124
126
.. code-block:: sh
125
127
@@ -137,18 +139,43 @@ content: |
137
139
tags:
138
140
- key: "environment"
139
141
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
149
151
150
152
EOF
151
153
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
+
152
179
To create a {+serverless-instance+}, see the
153
180
:ref:`{+serverless-instance+} example <ak8so-serverless-instance>`.
154
181
0 commit comments