Notice
Recent Posts
Recent Comments
Link
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
more
Archives
Today
Total
관리 메뉴

클라우드 엔지니어 꿈나무

Openshift ipi 설치 본문

Linux

Openshift ipi 설치

새싹싹이 2023. 11. 7. 16:04

Openshift IPI = 레드햇의 kubernetes 개념

 

 

Bastion

ens192 & ens224 IP 값 설정

 

 

Untagle

Interface DNS 부분을 Windows 서버의 IP와 일치시켜줌

 

 

Windows Server

 

 

역할 및 기능에서 DNS 설치 후, DNS 부분

 

 

실제 PC

scp openshift* root@172.16.10.24:/root

scp .\pull-secret.txt root@172.16.10.24:/root

 

<다운로드 링크>

console.redhat.com/openshift

 

 

Bastion

sudo su -

ssh-keygen -q -N "" =>  SSH 키 생성

172.16.10.209 (Vcenter IP)

wget https://172.16.10.209/certs/download.zip

하기와 같은 문구 출력

wget https://172.16.10.209/certs/download.zip --no-check-certificate => 인증서 받기

unzip download.zip

ls certs/lin/

cp certs/lin/* /etc/pki/ca-trust/source/anchors/

update-ca-trust extract

tar xvfz openshift-install-linux.tar.gz

./openshift-install create install-config --dir install --log-level=debug

>SSH Public key => /root/.ssh/id_rsa.pun

>Platform => vsphere

>vCenter => 172.16.10.209

>Username => administrator@team1.local

>Password=> 입력

>Defualt Datastore => /Datacenter/datastore/Datastore

>Network => Kang_int

>Virtual IP Address for API => 192.168.101.11

>Virtual IP Address for Ingress => 192.168.101.21

>Base Domain => team1.local

>Cluster NAme => team1

>Pull secret=> 새 터미널 창에서 cat pull-secret.txt 내용 붙여넣기

cp install/install-config.yaml ./

./openshift-install create cluster --dir install --log-level=debug

 

 

vCenter 내 첨부와 같이 master node와 workder node 가 생성되는 것을 볼 수 있다.

 

 

설치가 완료 후, 출력된 주소, id, 그리고 패스워드 확인

 

 

bastion 내 인터넷 주소 입력하면 하기와 같이 창이 출력되는 것을 볼 수 있다.