쿠버네티스 교육

Diamanti 교육 - dctl, kubectl Tool 설치

Jerry_이정훈 2021. 6. 17. 14:28
728x90

WSL 설치
: https://docs.microsoft.com/ko-kr/windows/wsl/install-win10

Diamanti Admin GUI Page 접속

  • 211.56.67.94 (IP 및 user/passwd 개별 문의)

화면 우측 상단 책 모양 클릭

  • kubectl, dctl Tool 다운로드 

Linux 64-bit Download

down 받은 kubectl, dctl 파일 WSL User PATH 파일 경로(/usr/local/bin/) Copy

압축 해제

Window Download 디렉토리 이동
[spkr@erdia22 Downloads (spkcluster:default)]$ cd /mnt/c/Users/erdia/Downloads/diamanti-tools-linux-amd64/

[spkr@erdia22 diamanti-tools-linux-amd64 (cate01:nkkim)]$ pwd
/mnt/c/Users/erdia/Downloads/diamanti-tools-linux-amd64

[spkr@erdia22 diamanti-tools-linux-amd64 (cate01:nkkim)]$ ls
dctl  helm  helm3  kubectl

[spkr@erdia22 diamanti-tools-linux-amd64 (cate01:nkkim)]$ cp dctl kubectl /usr/local/bin/dctl

[spkr@erdia22 diamanti-tools-linux-amd64 (cate01:nkkim)]$ cp kubectl kubectl /usr/local/bin/kubectl

[spkr@erdia22 diamanti-tools-linux-amd64 (cate01:nkkim)]$ dctl --version
dctl version 3.1.1 (110)

Diamanti Cluster Login 

IP, User, Password 개별 문의 
[spkr@erdia22 diamanti-tools-linux-amd64 (spkcluster:default)]$ dctl -s 192.168.0.100 login

Cluster 상태 확인
[spkr@erdia22 diamanti-tools-linux-amd64 (spkcluster:default)]$ dctl cluster status
Name            : spkcluster
UUID            : 1483619c-b2d7-11eb-8de5-a4bf014f87ff
State           : Created
Version         : 3.2.0 (118)
Etcd State      : Healthy
Virtual IP      : 172.17.16.160
Storage VLAN    : 200
Pod DNS Domain  : cluster.local

NAME      NODE-STATUS   K8S-STATUS   ROLE      MILLICORES   MEMORY            STORAGE           IOPS        VNICS     BANDWIDTH   SCTRLS
                                                                                                                                  LOCAL, REMOTE
dia01     Good          Good         master*   2632/40000   34.25GiB/128GiB   1.33TB/3.05TB     100K/500K   24/63     0/36G       8/64, 0/64
dia02     Good          Good         master    800/40000    1.07GiB/128GiB    757.1GB/3.05TB    20K/500K    8/63      0/36G       2/64, 0/64
dia04     Good          Good         master    2680/40000   4.64GiB/128GiB    821.59GB/3.05TB   20K/500K    29/63     0/36G       1/64, 0/64

 

반응형