Skip to content

Commit

Permalink
Merge pull request #485 from mlittlec/main
Browse files Browse the repository at this point in the history
Add OCNE Scale post
  • Loading branch information
mlittlec authored Dec 18, 2024
2 parents ce9815d + 376dd20 commit a7124f1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Binary file added content/posts/ocne/post-44/featured.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions content/posts/ocne/post-44/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: "Scale an Oracle Cloud Native Environment Cluster"
date: 2024-12-18
draft: false
summary: "Learn how to configure cluster scaling on Oracle Cloud Native Environment."
tags: ["ocne2", "lab", "tutorial", "ocne-install"]
showDate: true
---

## Links

:crescent_moon: [Lab](https://luna.oracle.com/lab/9d258745-5ca3-4e5a-9467-66be43d12a8a)

:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/ocne2-scale)

## Details

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.

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.

### Objectives

In this tutorial, you'll learn how to use `kubectl scale` and `kubectl edit` to:

- Add a new control plane and worker nodes to a Kubernetes cluster
- Remove control plane nodes and worker nodes from a Kubernetes cluster

### Prerequisites

- Minimum of one Oracle Linux instance
- Runs `ocne` and `libvirt` ephemeral cluster

- OCI cluster creation requires access to the following resources in an Oracle Cloud Infrastructure tenancy:

- Virtual cloud network with four subnets
- Network load balancer
- Object Storage bucket with minimum 5 GiB available
- Compute Custom Image
- Compute Arm Shape for the control plane node
- VM.Standard.A1.Flex with two OCPU and 12 memory
- Compute for each additional control plane and worker node
- VM.Standard.E4.Flex with four OCPU and 64 memory

0 comments on commit a7124f1

Please sign in to comment.