본문 바로가기
Linux/OpenShift

RHOCP Installation (1) - 설치 전 준비사항

by LILO 2023. 7. 17.
반응형

INTRO

RHOCP(OpenShift) 설치를 하기 전에 어떠한 것들을 준비해야하고 내 환경에 OpenShift 설치가 되는지 확인하기 위한 단계에 대해 알아보려고 합니다.

RHOCP에 대한 모든 글은 Disconnected(Restricted) Network 환경 (폐쇄망 환경)이라는 가정하에 진행하려고합니다.  

 

 

호환성 체크

RHOCP(OpenShift) 설치를 하기 전에 아래의 문서에서 조직에서 가지고있는 인프라에 OpenShift를 설치할 수 있는지 확인합니다.

 

Selecting an installation method and preparing a cluster | Installing | OpenShift Container Platform 4.13

×

docs.openshift.com

거의 모든 환경에서 지원하는 것을 확인할 수 있습니다.

 

 

Kubernetes NMState Operator GA in OpenShift 4.10 on bare metal

RHOCP 4.7부터 지원하던 NMState Operator가 4.10부터 GA가 되었으며 해당 Operator 사용을 정식적으로 사용하실 분들은 OpenShift 4.10 이상으로 클러스터를 구축해야됩니다.

 

NMState Operator는 yaml을 작성하여 간편하게 워크로드의 노드들 대상으로 네트워크를 설정하고 관리하는데 유용한 Operator입니다.

 

Kubernetes NMState Operator Promoted to GA in OpenShift 4.10 on bare metal

The Kubernetes NMState Operator lets you report and update the network configuration of your cluster nodes. It uses a declarative configuration expressed in YAML, which is easy to follow and well documented.

content.cloud.redhat.com

 

 

RHOCP 클러스터 최소 사양

https://docs.openshift.com/container-platform/4.13/installing/installing_bare_metal/installing-restricted-networks-bare-metal.html#installing-restricted-networks-bare-metal

 

1. Bootstrap Node

- RHOCP 클러스터 설치시에만 사용되고 Master Node 구축이 완료되면 삭제해도 무관한 Node입니다.

- Master node가 구축되면 삭제할 노드이기 때문에 남는 Bare metal 서버에 KVM으로 올려서 사용해도 무관합니다.

 

2. Control plane nodes

- Master node라고 불리며 최소 3대 이상의 서버가 필요합니다.

- Kubernetes 주요 컴포넌트(CM, API Server, Scheduler 등)이 포함되는 서버입니다.

 

3. Compute nodes

- Worker node라고 불리며 최소 2대 이상의 서버가 필요합니다.

- Application이 실행될 서버이기 때문에 배포될 서비스에 따라 리소스 산정이 필요합니다.

 

4. Bastion Server

- 사용자들이 OC 명령어를 수행하여 클러스터 작업을 하는 서버입니다.

- DNS, HAProxy, 이미지 레지스트리 서버를 별도로 구축하지 않는다면 bastion 서버에 모두 구축하여도 무관합니다.

반응형