Getting Started

Preparation

  • 설치 가능한 리눅스 배포판 확인

  • 호스트간 방화벽 확인

  • sudoers 실행 권한 확인

  • 호스트 간 Passwordless SSH 설정 확인

    • 동일 계정 및 Private Key 필요

Getting Started

download

cubectl은 상용 제품입니다. 다운로드 계정 발급은 서비스 데스크로 문의바랍니다.

$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=user PASSWD=pwd VERSION=$(curl -s https://cube.k3.acornsoft.io/stable.txt) sh -
$ cd cubectl-v*

Create a cluster

$ cat <<EOF> config/cubectl.toml
[kubernetes]
api-sans=["192.168.77.112"]

[node-pool.master]
ip = ["10.30.30.10"]

[node-pool.node]
ip = ["10.30.30.11"]
EOF

$ sudo bin/cubectl create -p ~/.ssh/id_rsa -u cocktail

Connect to your cluster

$ cubectl update-kubeconfig -p ~/.ssh/id_rsa -u cocktail
$ kubectl get nodes --kubeconfig=$(pwd)/config/acloud-client-kubeconfig

Destroy a cluster

$ sudo bin/cubectl destroy -p ~/.ssh/id_rsa -u cocktail

Last updated