> 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/reference/cubectl-toml.md).

# cubectl.toml

`cubectl.toml` 은 클러스터를 설치하고 업데이트기 위한 기본 설정 정보 파일입니다.

"cubectl config new" 명령으로 template 파일을 생성할 수 있습니다.

```
$ bin/cubectl config new

# cat config/cubectl.toml
```

## 구조

`cubectl.toml` 의 설정 구조는 아래와 같습니다.

```
cubectl.toml/
├── cubectl
│   ├── cluster-name
│   ├── cubectl.cert_validity_days
│   ├── install-dir
│   ├── closed-network
│   ├── local-repository-install
│   └── local-repository-url
├── kubernetes
│   ├── version
│   ├── kube-proxy-mode
│   ├── service-cidr
│   ├── pod-cidr
│   ├── node-port-range
│   ├── audit-log-enable
│   ├── api-sans
│   └── calico
│       └── vxlan-mode
├── node-pool
│   ├── data-dir
│   ├── ssh-port
│   ├── master
│   │   ├── ip
│   │   ├── private-ip
│   │   ├── haproxy-install
│   │   ├── lb-ip
│   │   └── lb-port
│   └── node
│       ├── ip
│       └── private-ip
├── private-registry
│   ├── install
│   ├── registry-ip
│   ├── private-ip
│   ├── registry-domain
│   ├── data-dir
│   ├── public-cert
│   └── cert-file
│       ├── ssl-certificate
│       └── ssl-certificate-key
└── shared-storage
    ├── install
    ├── storage-ip
    ├── private-ip
    └── volume-dir
```

## 목차

* [cubectl](/cube/reference/cubectl-toml/cubectl.md) : `cubectl` 실행 환경을 정의합니다.
* [kubernetes](/cube/reference/cubectl-toml/kubernetes.md) : 쿠버네티스 관련 속성을 정의합니다.
* [node-pool](/cube/reference/cubectl-toml/node-pool.md) : 노드 IP와 같은 노드관련 속성을 정의합니다.
* [local-repository](/cube/reference/cubectl-toml/local-repository.md) : local repository 설치 여부 및 관련 속성을 정의합니다.
* [private-registry](https://github.com/kore3lab/cubectl/blob/prod/docs/user/cubectl-toml/private-regisrty.md) : 사설 저장소 설치 여부 및 관련 속성을 정의합니다.
* [shared-storage](/cube/reference/cubectl-toml/shared-storage.md) : 스토리지 서버(Network File System) 설치 여부 및 관련 속성을 정의합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cocktailcloud.gitbook.io/cube/reference/cubectl-toml.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
