Scaling Openshift UPI Clusters Using Central Infrastructure Management

Using A PXE server

Using The RHCOS LiveCD

About CIM

Prerequisites

Deploying A Compact (Three-Node) Openshift Cluster

apiVersion: agent-install.openshift.io/v1beta1
kind: NMStateConfig
metadata:
name: ocp2-worker01
namespace: ocp-compact
labels:
cluster-name: ocp-compact
spec:
config:
interfaces:
- name: eth1
macAddress: 52:54:00:cd:3d:7a
type: ethernet
state: up
ipv4:
enabled: true
address:
- ip: 192.168.1.91
prefix-length: 24
dhcp: false
dns-resolver:
config:
search:
- spaz.local
server:
- 192.168.1.150
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.1.1
next-hop-interface: eth1
interfaces:
- name: "eth1"
macAddress: "52:54:00:cd:3d:7a"

Scaling The Cluster

apiVersion: agent-install.openshift.io/v1beta1
kind: NMStateConfig
metadata:
name: ocp2-worker04
namespace: ocp-compact
labels:
cluster-name: ocp-compact
spec:
config:
interfaces:
- name: eth1
macAddress: 52:54:00:8c:11:fe
type: ethernet
state: up
ipv4:
enabled: true
address:
- ip: 192.168.1.98
prefix-length: 24
dhcp: false
dns-resolver:
config:
search:
- spaz.local
server:
- 192.168.1.150
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.1.1
next-hop-interface: eth1
interfaces:
- name: "eth1"
macAddress: "52:54:00:8c:11:fe"
$ oc adm certificate approve <csr_name>

--

--

--

Sr. Solution Architect, Red Hat

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

7 Steps To Export SQL Statements From Tableau

Reduce Cost and Increase Productivity with Value Added IT Services from buzinessware — {link} -

Reduce Cost and Increase Productivity with Value Added IT Services from buzinessware — {link} -

Production Release Highlights: October 6th, 2021

Understanding Discord — Scheduled Events

Elixir — A Tincture for Functional Programming Part 1.5 Recursion

Ouroboros

What cloud to choose

Can the AWS EC2 t2.medium outperform the c4.large?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shon Paz

Shon Paz

Sr. Solution Architect, Red Hat

More from Medium

Troubleshooting-terminating-namespaces in Kubernetes

Dynamic Admission Controllers in OpenShift 4

Run Containers and VMs Together with KubeVirt

Dealing With Air-Gapped Environments Just Got Much Easier