kubesphere - 설치 II > OpenShift 자료실

본문 바로가기
사이트 내 전체검색

OpenShift 자료실

kubesphere - 설치 II

페이지 정보

profile_image
작성자 꿈꾸는여행자
댓글 1건 조회 1,982회 작성일 22-10-26 11:16

본문

안녕하세요.

 

꿈꾸는 여행자 입니다. 

 

앞서 설치 진행한 사항 이후, 

기준으로 kubesphere를 설치 진행해 보겠습니다.

 

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

 

> 다음 

 

1. 진행 내역

 

2. Download KubeKey

3. Get Started with Installation 


2. Download KubeKey

Perform the following steps to download KubeKey.


  • Download KubeKey from its GitHub Release Page or run the following command:


curl -sfL https://get-kk.kubesphere.io | VERSION=v2.2.2 sh -

[root@localhost KubeSphere]# pwd

/root/Work/KubeSphere

[root@localhost KubeSphere]# curl -sfL https://get-kk.kubesphere.io | VERSION=v2.2.2 sh -


Downloading kubekey v2.2.2 from https://github.com/kubesphere/kubekey/releases/download/v2.2.2/kubekey-v2.2.2-linux-amd64.tar.gz ...



Kubekey v2.2.2 Download Complete!


[root@localhost KubeSphere]# ls

kk  kubekey-v2.2.2-linux-amd64.tar.gz

[root@localhost KubeSphere]#


  • Make kk executable:


chmod +x kk

[root@localhost KubeSphere]# chmod +x kk

[root@localhost KubeSphere]# ls -al

total 70328

drwxr-xr-x  2 root root       57 Oct  6 16:46 .

drwxr-xr-x. 4 root root       43 Oct  6 16:46 ..

-rwxr-xr-x  1 1001  121 54910976 Jul 26 15:17 kk

-rw-r--r--  1 root root 17102249 Oct  6 16:46 kubekey-v2.2.2-linux-amd64.tar.gz

[root@localhost KubeSphere]#


3. Get Started with Installation

  • You only need to run one command for all-in-one installation. The template is as follows:

    • ./kk create cluster [--with-kubernetes version] [--with-kubesphere version]

  • To create a Kubernetes cluster with KubeSphere installed, refer to the following command as an example:


./kk create cluster --with-kubernetes v1.22.10 --with-kubesphere v3.3.0

[root@localhost KubeSphere]# ./kk create cluster --with-kubernetes v1.22.10 --with-kubesphere v3.3.0



 _   __      _          _   __

| | / /     | |        | | / /

| |/ / _   _| |__   ___| |/ /  ___ _   _

|    \| | | | '_ \ / _ \    \ / _ \ | | |

| |\  \ |_| | |_) |  __/ |\  \  __/ |_| |

\_| \_/\__,_|_.__/ \___\_| \_/\___|\__, |

                                    __/ |

                                   |___/


16:49:55 KST [GreetingsModule] Greetings

16:49:55 KST message: [localhost]

Greetings, KubeKey!

16:49:55 KST success: [localhost]

16:49:55 KST [NodePreCheckModule] A pre-check on nodes

16:49:56 KST success: [localhost]

16:49:56 KST [ConfirmModule] Display confirmation form

+-----------+------+------+---------+----------+-------+-------+---------+-----------+--------+---------------------------------------------------------------------------------------+------------+------------+-------------+------------------+--------------+

| name      | sudo | curl | openssl | ebtables | socat | ipset | ipvsadm | conntrack | chrony | docker                                                                                | containerd | nfs client | ceph client | glusterfs client | time         |

+-----------+------+------+---------+----------+-------+-------+---------+-----------+--------+---------------------------------------------------------------------------------------+------------+------------+-------------+------------------+--------------+

| localhost | y    | y    | y       | y        | y     | y     |         | y         | y      | Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.

4.1.1 |            |            |             |                  | KST 16:49:56 |

+-----------+------+------+---------+----------+-------+-------+---------+-----------+--------+---------------------------------------------------------------------------------------+------------+------------+-------------+------------------+--------------+


This is a simple check of your environment.

Before installation, ensure that your machines meet all requirements specified at

https://github.com/kubesphere/kubekey#requirements-and-recommendations


Continue this installation? [yes/no]: yes

16:50:01 KST success: [LocalHost]

16:50:01 KST [NodeBinariesModule] Download installation binaries

16:50:01 KST message: [localhost]

downloading amd64 kubeadm v1.22.10 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 43.7M  100 43.7M    0     0  9490k      0  0:00:04  0:00:04 --:--:-- 9818k

16:50:06 KST message: [localhost]

downloading amd64 kubelet v1.22.10 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  115M  100  115M    0     0  10.3M      0  0:00:11  0:00:11 --:--:-- 11.1M

16:50:17 KST message: [localhost]

downloading amd64 kubectl v1.22.10 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 44.7M  100 44.7M    0     0   9.8M      0  0:00:04  0:00:04 --:--:-- 10.6M

16:50:22 KST message: [localhost]

downloading amd64 helm v3.6.3 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 13.0M  100 13.0M    0     0  3511k      0  0:00:03  0:00:03 --:--:-- 3510k

16:50:26 KST message: [localhost]

downloading amd64 kubecni v0.9.1 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 37.9M  100 37.9M    0     0  8401k      0  0:00:04  0:00:04 --:--:-- 10.9M

16:50:31 KST message: [localhost]

downloading amd64 crictl v1.24.0 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 13.8M  100 13.8M    0     0  4506k      0  0:00:03  0:00:03 --:--:-- 5371k

16:50:34 KST message: [localhost]

downloading amd64 etcd v3.4.13 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 16.5M  100 16.5M    0     0  2836k      0  0:00:05  0:00:05 --:--:-- 3630k

16:50:40 KST message: [localhost]

downloading amd64 docker 20.10.8 ...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 58.1M  100 58.1M    0     0  10.5M      0  0:00:05  0:00:05 --:--:-- 11.0M

16:50:46 KST success: [LocalHost]

16:50:46 KST [ConfigureOSModule] Prepare to init OS

16:50:48 KST success: [localhost]

16:50:48 KST [ConfigureOSModule] Generate init os script

16:50:48 KST success: [localhost]

16:50:48 KST [ConfigureOSModule] Exec init os script

16:50:49 KST stdout: [localhost]

setenforce: SELinux is disabled

Disabled

net.ipv4.ip_forward = 1

net.bridge.bridge-nf-call-arptables = 1

net.bridge.bridge-nf-call-ip6tables = 1

net.bridge.bridge-nf-call-iptables = 1

net.ipv4.ip_local_reserved_ports = 30000-32767

vm.max_map_count = 262144

vm.swappiness = 1

fs.inotify.max_user_instances = 524288

kernel.pid_max = 65535

16:50:49 KST success: [localhost]

16:50:49 KST [ConfigureOSModule] configure the ntp server for each node

16:50:49 KST skipped: [localhost]

16:50:49 KST [KubernetesStatusModule] Get kubernetes cluster status

16:50:49 KST success: [localhost]

16:50:49 KST [InstallContainerModule] Sync docker binaries

16:50:51 KST success: [localhost]

16:50:51 KST [InstallContainerModule] Generate docker service

16:50:52 KST success: [localhost]

16:50:52 KST [InstallContainerModule] Generate docker config

16:50:52 KST success: [localhost]

16:50:52 KST [InstallContainerModule] Enable docker

16:50:54 KST success: [localhost]

16:50:54 KST [InstallContainerModule] Add auths to container runtime

16:50:54 KST skipped: [localhost]

16:50:54 KST [PullModule] Start to pull images on all nodes

16:50:54 KST message: [localhost]

downloading image: kubesphere/pause:3.5

16:51:00 KST message: [localhost]

downloading image: kubesphere/kube-apiserver:v1.22.10

16:51:09 KST message: [localhost]

downloading image: kubesphere/kube-controller-manager:v1.22.10

댓글목록

profile_image

최고관리자님의 댓글

최고관리자 작성일

좋은글 감사합니다. ^^

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
683
어제
1,534
최대
3,935
전체
757,415
Copyright © www.linuxdata.org All rights reserved.