Resource nubes_k8s_velero · v1.0.0 · Service ID: 86 · Service Name: Velero¶
Manual · Create params · Modify params · Output params · Operations · Example
Create params¶
| Параметр | Тип | Обязательный | По умолчанию | Описание | Ограничения |
|---|---|---|---|---|---|
cluster_configuration |
map-fixed |
да | Развернуть ↓ | ||
startup_configuration |
map-fixed |
да | Развернуть ↓ | ||
node_agent_configuration |
map-fixed |
да | Реплик выставляется автоматически столько, сколько Worker-узлов в кластере | ||
backup_configuration |
map-fixed |
да | Развернуть ↓ |
clusterConfiguration (map-fixed)¶
| Code | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
memory |
integer |
yes | 2048 |
Указывается в Megabytes | |
replicas |
integer |
yes | 1 |
Допустимые значения: 1, 2, 3 | |
cpu |
integer |
yes | 1000 |
Указывается в Milicores1000 Mili == 1 Ядро |
startupConfiguration (map-fixed)¶
| Code | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
resource_realm |
string |
yes | k8s-4-ext-nubes-ru |
Допустимые значения: k8s-4-ext-nubes-ru |
nodeAgentConfiguration (map-fixed)¶
| Code | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
cpu |
integer |
yes | 2000 |
Указывается в Milicores1000 Mili == 1 Ядро |
|
memory |
integer |
yes | 2048 |
Указывается в Megabytes |
backupConfiguration (map-fixed)¶
| Code | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
s3_bucket_uid |
uuid |
yes | Экземпляр S3-Бакета обязателен Учётная запись будет создана автоматически, если её нету |
Важно: поведение при destroy
По умолчанию: suspend_on_destroy = True, adopt_existing_on_create = False.
При terraform destroy или удалении ресурса из манифеста:
- suspend_on_destroy=true — инстанс переводится в Suspend (не удаляется).
- suspend_on_destroy=false — Terraform удаляет ресурс только из state.
При apply флаг adopt_existing_on_create работает как авто-import:
- false — если ресурс уже есть, будет ошибка.
- true — Terraform может взять существующий инстанс под управление.
Важно: один инстанс должен быть только в одном state. Иначе получите конфликт управления.