@@ -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
@@ -113,8 +113,10 @@ title: "Create the ``AtlasDeployment`` custom resource."
113
113
ref : create-atlasdeployment
114
114
content : |
115
115
116
- Run the following command to create an
116
+ Run one of the following commands to create an
117
117
:ref:`atlasdeployment-custom-resource` and create a {+cluster+}:
118
+
119
+ **Paid Tier:**
118
120
119
121
.. code-block:: sh
120
122
@@ -132,18 +134,43 @@ content: |
132
134
tags:
133
135
- key: "environment"
134
136
value: "production"
135
- replicationSpecs:
136
- - zoneName: US-Zone
137
- regionConfigs:
138
- - electableSpecs:
139
- instanceSize: M10
140
- nodeCount: 3
141
- providerName: AWS
142
- regionName: US_EAST_1
143
- priority: 7
137
+ replicationSpecs:
138
+ - zoneName: US-Zone
139
+ regionConfigs:
140
+ - electableSpecs:
141
+ instanceSize: M10
142
+ nodeCount: 3
143
+ providerName: AWS
144
+ regionName: US_EAST_1
145
+ priority: 7
144
146
145
147
EOF
146
148
149
+ **Free Tier:**
150
+
151
+ .. code-block:: sh
152
+
153
+ cat <<EOF | kubectl apply -f -
154
+ apiVersion: atlas.mongodb.com/v1
155
+ kind: AtlasDeployment
156
+ metadata:
157
+ name: my-atlas-cluster
158
+ spec:
159
+ projectRef:
160
+ name: my-project
161
+ deploymentSpec:
162
+ clusterType: REPLICASET
163
+ name: "Test-cluster"
164
+ replicationSpecs:
165
+ - regionConfigs:
166
+ - regionName: US_EAST_1
167
+ providerName: TENANT
168
+ backingProviderName: AWS
169
+ electableSpecs:
170
+ instanceSize: M0
171
+ nodeCount: 3
172
+ EOF
173
+
147
174
To create a {+serverless-instance+}, see the
148
175
:ref:`{+serverless-instance+} example <ak8so-serverless-instance>`.
149
176
0 commit comments