1. Setup your Nodes [OCNE 1.7]

Puneeth Prakash
2 min readSep 28, 2023

--

We need a minimum of 3 nodes to setup OCNE namely :

  1. Operator Node:
    - Install and manage the environment and Kubernetes cluster.
    - Has the following components :
    * Platform CLI (olcnectl).
    * Platform API Server.
    - Minimum Hardware Requirements:
    * 1 CPU cores (Intel VT-capable CPU)
    * 8GB RAM
    * 1GB Ethernet NIC
    * 15GB hard disk space in the /var directory
  2. Kubernetes ControlPlane Node:
    - Manage the lifecycle of containerized applications.
    - Has the following components :
    * Platform Agent.
    * Kubernetes API Server.
    * Kubernetes CLI (kubectl).
    - Minimum Hardware Requirements:
    * 4 CPU cores (Intel VT-capable CPU)
    * 16GB RAM
    * 1GB Ethernet NIC
    * XFS file system (the default file system for Oracle Linux)
    * 40GB hard disk space in the /var directory
  3. Kubernetes Worker Nodes:
    - Hosts the containerized applications.
    - Has the following components :
    * Platform Agent.
    * Container Runtime engine.
    - Minimum Hardware Requirements:
    * 1 CPU cores (Intel VT-capable CPU)
    * 8GB RAM
    * 1GB Ethernet NIC
    * XFS file system (the default file system for Oracle Linux)
    * 15GB hard disk space in the /var directory
    * XFS mount-point /var/lib/containers with dedicated space based on the number of container images going to be saved and leveraged.

NOTE :

  • The minimum HA configuration for Kubernetes cluster is :
    1 Operator Node
    3 Kubernetes Control Plane nodes (5 recommended)
    2 Kubernetes worker nodes (3 recommended)
  • The number of control plane nodes must be an odd number equal to or greater than 3, Eg: 3,5 or 7 …

Step 1: Update Oracle Linux (Optional)

sudo dnf -y update
sudo reboot

Step 2: Setup meaningful hostnames and map the IP and hostnames in /etc/hosts file (Optional)

hostnamectl set-hostname operator.xx.xxx.com 
hostnamectl set-hostname control.xx.xxx.com
hostnamectl set-hostname worker1.xx.xxx.com
hostnamectl set-hostname worker2.xx.xxx.com
vi /etc/hosts
10.65.xx.xxx control.xx.xxx.com control 
10.65.xx.xxx operator.xx.xxx.com operator
10.65.xx.xxx worker1.xx.xxx.com worker1
10.65.xx.xxx worker2.xx.xxx.com worker2

--

--

Puneeth Prakash
Puneeth Prakash

Written by Puneeth Prakash

I work as a Subject Matter Expert in FMW at Oracle. This blogging space is to share my learning experiences. Views expressed here are solely my own.

No responses yet