kubesphere - 설치 I > OpenShift 자료실

본문 바로가기

사이트 내 전체검색

뒤로가기 OpenShift 자료실

kubesphere - 설치 I

페이지 정보

작성자 꿈꾸는여행자 작성일 22-10-18 15:50 조회 1,814 댓글 1

본문

안녕하세요.

 

꿈꾸는 여행자 입니다. 

 

앞서 작성한 기준으로 kubesphere를 설치 진행해 보겠습니다.

 

이번 진행할 내역은 다음과 같습니다. 

 

> 다음 

 

1. 진행 내역

 

1. Prepare a Linux Machine

1.1. Hardware recommendations

1.2. Node requirements

1.3. Container runtimes

1.4. Dependency requirements

1.5. Network and DNS requirements

 

2. 진행 상세  

1. Prepare a Linux Machine

1.1. Hardware recommendations

OS

Minimum Requirements

Ubuntu 16.04, 18.04

2 CPU cores, 4 GB memory, and 40 GB disk space

Debian Buster, Stretch

2 CPU cores, 4 GB memory, and 40 GB disk space

CentOS 7.x

2 CPU cores, 4 GB memory, and 40 GB disk space

Red Hat Enterprise Linux 7

2 CPU cores, 4 GB memory, and 40 GB disk space

SUSE Linux Enterprise Server 15/openSUSE Leap 15.2

2 CPU cores, 4 GB memory, and 40 GB disk space


  • Spec

    • 4 CPU cores

    • 8 GB memory 

1.2. Node requirements

  • The node can be accessed through SSH.

  • sudo/curl/openssl/tar should be used.


dnf install sudo curl openssl tar

[root@localhost ~]# dnf install sudo curl openssl tar

Last metadata expiration check: 0:15:16 ago on Thu 06 Oct 2022 04:23:34 PM KST.

Package sudo-1.9.5p2-7.el9.x86_64 is already installed.

Package curl-7.76.1-14.el9_0.4.x86_64 is already installed.

Package openssl-1:3.0.1-41.el9_0.x86_64 is already installed.

Package tar-2:1.34-3.el9.x86_64 is already installed.

Dependencies resolved.

======================================================================================

 Package          Architecture    Version                       Repository       Size

======================================================================================

Upgrading:

 curl             x86_64          7.76.1-14.el9_0.5             baseos          296 k

 libcurl          x86_64          7.76.1-14.el9_0.5             baseos          286 k


Transaction Summary

======================================================================================

Upgrade  2 Packages


Total download size: 582 k

Is this ok [y/N]: y

Downloading Packages:

(1/2): curl-7.76.1-14.el9_0.5.x86_64.rpm              3.6 MB/s | 296 kB     00:00

(2/2): libcurl-7.76.1-14.el9_0.5.x86_64.rpm           3.3 MB/s | 286 kB     00:00

--------------------------------------------------------------------------------------

Total                                                 551 kB/s | 582 kB     00:01

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                              1/1

  Upgrading        : libcurl-7.76.1-14.el9_0.5.x86_64                             1/4

  Upgrading        : curl-7.76.1-14.el9_0.5.x86_64                                2/4

  Cleanup          : curl-7.76.1-14.el9_0.4.x86_64                                3/4

  Cleanup          : libcurl-7.76.1-14.el9_0.4.x86_64                             4/4

  Running scriptlet: libcurl-7.76.1-14.el9_0.4.x86_64                             4/4

  Verifying        : libcurl-7.76.1-14.el9_0.5.x86_64                             1/4

  Verifying        : libcurl-7.76.1-14.el9_0.4.x86_64                             2/4

  Verifying        : curl-7.76.1-14.el9_0.5.x86_64                                3/4

  Verifying        : curl-7.76.1-14.el9_0.4.x86_64                                4/4


Upgraded:

  curl-7.76.1-14.el9_0.5.x86_64            libcurl-7.76.1-14.el9_0.5.x86_64


Complete!

[root@localhost ~]#


1.3. Container runtimes

Your cluster must have an available container runtime. If you use KubeKey to set up a cluster, KubeKey installs the latest version of Docker by default. Alternatively, you can manually install Docker or other container runtimes before you create a cluster.


Supported Container Runtime

Version

Docker

19.3.8 +

containerd

Latest

CRI-O (experimental, not fully tested)

Latest

iSula (experimental, not fully tested)

Latest


  • Install Docker 


dnf install docker

[root@localhost ~]# dnf install docker

Last metadata expiration check: 0:17:35 ago on Thu 06 Oct 2022 04:23:34 PM KST.

Dependencies resolved.

======================================================================================

 Package                 Architecture  Version                 Repository        Size

======================================================================================

Installing:

 podman-docker           noarch        2:4.1.1-1.el9_0         appstream         40 k

Upgrading:

 podman                  x86_64        2:4.1.1-1.el9_0         appstream         12 M

 podman-catatonit        x86_64        2:4.1.1-1.el9_0         appstream        350 k


Transaction Summary

======================================================================================

Install  1 Package

Upgrade  2 Packages


Total download size: 12 M

Is this ok [y/N]: y

Downloading Packages:

(1/3): podman-docker-4.1.1-1.el9_0.noarch.rpm         756 kB/s |  40 kB     00:00

(2/3): podman-catatonit-4.1.1-1.el9_0.x86_64.rpm      3.6 MB/s | 350 kB     00:00

(3/3): podman-4.1.1-1.el9_0.x86_64.rpm                9.9 MB/s |  12 MB     00:01

--------------------------------------------------------------------------------------

Total                                                 7.1 MB/s |  12 MB     00:01

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                              1/1

  Upgrading        : podman-2:4.1.1-1.el9_0.x86_64                                1/5

  Upgrading        : podman-catatonit-2:4.1.1-1.el9_0.x86_64                      2/5

  Installing       : podman-docker-2:4.1.1-1.el9_0.noarch                         3/5

  Cleanup          : podman-catatonit-2:4.0.2-7.el9_0.x86_64                      4/5

  Cleanup          : podman-2:4.0.2-7.el9_0.x86_64                                5/5

  Running scriptlet: podman-2:4.0.2-7.el9_0.x86_64                                5/5

  Verifying        : podman-docker-2:4.1.1-1.el9_0.noarch                         1/5

  Verifying        : podman-catatonit-2:4.1.1-1.el9_0.x86_64                      2/5

  Verifying        : podman-catatonit-2:4.0.2-7.el9_0.x86_64                      3/5

  Verifying        : podman-2:4.1.1-1.el9_0.x86_64                                4/5

  Verifying        : podman-2:4.0.2-7.el9_0.x86_64                                5/5


Upgraded:

  podman-2:4.1.1-1.el9_0.x86_64        podman-catatonit-2:4.1.1-1.el9_0.x86_64

Installed:

  podman-docker-2:4.1.1-1.el9_0.noarch


Complete!

[root@localhost ~]#


1.4. Dependency requirements

KubeKey can install Kubernetes and KubeSphere together. The dependency that needs to be installed may be different based on the Kubernetes version to be installed. You can refer to the following list to see if you need to install relevant dependencies on your node in advance.


Dependency

댓글목록 1

최고관리자님의 댓글

최고관리자 작성일

좋은글 감사합니다. ^^

Copyright © 소유하신 도메인. All rights reserved.

사이트 정보

회사명 : (주)리눅스데이타시스템 / 대표 : 정정모
서울본사 : 서울특별시 강남구 봉은사로 114길 40 홍선빌딩 2층 / tel : 02-6207-1160
대전지사 : 대전광역시 유성구 노은로174 도원프라자 5층 / tel : 042-331-1161

PC 버전으로 보기