> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/cube/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cocktailcloud.gitbook.io/cube/overview/getting-started.md).

# Getting Started

## Preparation

* 설치 가능한 리눅스 배포판 확인
  * *see* [*Supported Versions*](/cube/overview/supported-versions.md) *Guide page for more information.*
* 호스트간 방화벽 확인
  * *see* [*Firewall Settings*](https://cocktailcloud.gitbook.io/cube/overview/pages/n6Rx1yCBYwvYUzY6jIhO##firewall-settings) *Guide page for more information.*
* `sudoers` 실행 권한 확인
  * *see* [*Sudoers Table*](/cube/overview/system-requirements.md#sudoers-table) *Guide page for more information.*
* 호스트 간 Passwordless SSH 설정 확인
  * 동일 계정 및 Private Key 필요

## Getting Started

### download

*`cubectl`은 상용 제품입니다. 다운로드 계정 발급은* [*서비스 데스크*](mailto:cocktail@acornsoft.io)*로 문의바랍니다.*

```
$ 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*
```

* See [Download `cubectl`](/cube/overview/download.md) Guide page for more information.

### 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
```

* See [Create a cluster](/cube/reference/apis/create.md) Guide page for more information.

### Connect to your cluster

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

* See [Update kubeconfig](/cube/reference/apis/update-kubeconfig.md) Guide page for more information.

### Destroy a cluster

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

* See [Destroy a cluster](/cube/reference/apis/destroy.md) Guide page for more information.
