Skip to content

Commit df77782

Browse files
authored
Merge pull request #79 from hyder/v12
fixed topology documentation
2 parents 1428934 + 0cbf4a1 commit df77782

File tree

1 file changed

+20
-23
lines changed

1 file changed

+20
-23
lines changed

docs/topology.adoc

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ link:#public-vs-private-worker-nodes[Public vs Private worker nodes]
3535

3636
link:#node-pools[Node Pools]
3737

38-
link:#worker-nodes-per-subnet[Worker Nodes per subnet]
39-
4038
link:#fault-domains[Fault Domains]
4139

4240
link:#public-and-internal-load-balancers[Public and Internal Load Balancers]
@@ -175,7 +173,7 @@ A node pool is a set of hosts within a cluster that all have the same configurat
175173
* the image to use to provision the worker nodes
176174
* the shape of the worker nodes in the node pool
177175
* the subnets the node pool will span
178-
* the number of worker nodes per subnet
176+
* the size of the cluster
179177
* the public ssh key if you wish to ssh to your worker nodes (Optional)
180178
* the Kubernetes labels to apply to the nodes (Optional)
181179

@@ -208,7 +206,7 @@ will create 3 node pools (np1, np2 and np3).
208206

209207
* the Kubernetes version is set automatically to the same version as the cluster.
210208

211-
* the image used is an Oracle Linux image with the version specified. You can also specify your own image OCID. However, note that these 2 are mutually exclusive i.e. either use Operating System and version *_or_* specify the OCID of your custom image.
209+
* the image used is an Oracle Linux image with the version specified. You can also specify your own image OCID. However, note that these 2 parameters are *_mutually exclusive_* i.e. either use Operating System and version *_or_* specify the OCID of your custom image.
212210

213211
* the {uri-oci-shape}[shape] of the worker node determines the compute capacity of the worker node. This is controlled by the first element in the tuple for the node pool. By default, this is VM.Standard2.1, giving you 1 OCPU, 15GB Memory, 1 Gbps in network bandwidth and 2 VNICs e.g.
214212

@@ -244,16 +242,17 @@ The number, shape and size of the node pools created is controlled by the number
244242
N.B A minimum 3 worker nodes per node pool will be created.
245243
****
246244

247-
The diagram below shows a cluster with 1 node pool and 1 worker node per subnet using topology 3 i.e.
245+
The diagram below shows a cluster with 1 node pool of size 3 i.e. setting the following configuration:
248246

249247
----
250248
node_pools = {
251-
"np1" = ["VM.Standard2.1", 1]
249+
"np1" = ["VM.Standard2.1", 3]
252250
}
253251
----
254252

253+
will result in the following:
255254

256-
.1 Node Pool with 1 worker node per subnet (other details removed for convenience)
255+
.1 Node Pool of size 3 worker nodes (other details removed for convenience)
257256
image::images/np311.png[align="center"]
258257

259258
{bl}
@@ -262,45 +261,43 @@ You can increase the number of node pools by adding more entries in the node_poo
262261

263262
----
264263
node_pools = {
265-
"np1" = ["VM.Standard2.1", 1]
266-
"np2" = ["VM.Standard2.1", 1]
267-
"np3" = ["VM.Standard2.1", 1]
268-
"np4" = ["VM.Standard2.1", 1]
269-
"np5" = ["VM.Standard2.1", 1]
264+
"np1" = ["VM.Standard2.1", 3]
265+
"np2" = ["VM.Standard2.1", 3]
266+
"np3" = ["VM.Standard2.1", 3]
267+
"np4" = ["VM.Standard2.1", 3]
268+
"np5" = ["VM.Standard2.1", 3]
270269
}
271270
----
272271

273-
.5 Node Pools with 1 worker node per subnet
272+
.5 Node Pools each of size 3 worker nodes
274273
image::images/np351.png[align="center"]
275274

276-
==== Worker Nodes per subnet
277-
278-
You can also change the number of worker nodes per subnet e.g.
275+
You can also change the node pool size e.g.
279276

280277
----
281278
node_pools = {
282-
"np1" = ["VM.Standard2.1", 2]
279+
"np1" = ["VM.Standard2.1", 6]
283280
}
284281
----
285282

286283
will result in the following cluster:
287284

288-
.1 Node Pool with 2 worker nodes per subnet
285+
.1 Node Pool with 6 worker nodes
289286
image::images/np312.png[align="center"]
290287

291288
{bl}
292289

293-
Similarly, you can support mixed workloads by adding node pools of different shapes and number of worker nodes per subnet:
290+
Similarly, you can support mixed workloads by adding node pools of different shapes and sizes:
294291

295292
----
296293
node_pools = {
297-
"np1" = ["VM.Standard.E2.1", 3]
298-
"np2" = ["VM.Standard2.24", 2]
299-
"np3" = ["BM.Standard1.36", 1]
294+
"np1" = ["VM.Standard.E2.1", 9]
295+
"np2" = ["VM.Standard2.24", 6]
296+
"np3" = ["BM.Standard1.36", 3]
300297
}
301298
----
302299

303-
.4 Mixed workload with different shapes and number of worker nodes per subnet
300+
.4 Mixed workload with different node pool shapes and sizes
304301
image::images/mixedworkload.png[align="center"]
305302

306303
=== Fault Domains

0 commit comments

Comments
 (0)