Skip to content

Commit a7124f1

Browse files
authored
Merge pull request #485 from mlittlec/main
Add OCNE Scale post
2 parents ce9815d + 376dd20 commit a7124f1

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
205 KB
Loading
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Scale an Oracle Cloud Native Environment Cluster"
3+
date: 2024-12-18
4+
draft: false
5+
summary: "Learn how to configure cluster scaling on Oracle Cloud Native Environment."
6+
tags: ["ocne2", "lab", "tutorial", "ocne-install"]
7+
showDate: true
8+
---
9+
10+
## Links
11+
12+
:crescent_moon: [Lab](https://luna.oracle.com/lab/9d258745-5ca3-4e5a-9467-66be43d12a8a)
13+
14+
:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/ocne2-scale)
15+
16+
## Details
17+
18+
Scaling up a Kubernetes cluster means adding nodes; likewise, scaling down occurs by removing nodes. These nodes can be either control plane or worker nodes. Oracle recommends against scaling the cluster up and down simultaneously but instead performing a scale up and down in two separate commands.
19+
20+
Scaling the Kubernetes cluster control plane or worker nodes in odd numbers is recommended to avoid split-brain scenarios and maintain the quorum. For example, 3, 5, or 7 control plane nodes or worker nodes ensure the cluster's reliability.
21+
22+
### Objectives
23+
24+
In this tutorial, you'll learn how to use `kubectl scale` and `kubectl edit` to:
25+
26+
- Add a new control plane and worker nodes to a Kubernetes cluster
27+
- Remove control plane nodes and worker nodes from a Kubernetes cluster
28+
29+
### Prerequisites
30+
31+
- Minimum of one Oracle Linux instance
32+
- Runs `ocne` and `libvirt` ephemeral cluster
33+
34+
- OCI cluster creation requires access to the following resources in an Oracle Cloud Infrastructure tenancy:
35+
36+
- Virtual cloud network with four subnets
37+
- Network load balancer
38+
- Object Storage bucket with minimum 5 GiB available
39+
- Compute Custom Image
40+
- Compute Arm Shape for the control plane node
41+
- VM.Standard.A1.Flex with two OCPU and 12 memory
42+
- Compute for each additional control plane and worker node
43+
- VM.Standard.E4.Flex with four OCPU and 64 memory

0 commit comments

Comments
 (0)