- kapsule: cluster + 3 node pools (always-on, ci, gpu) - object-storage: S3 bucket with 30-day sccache expiry - registry: private Container Registry namespace - secrets: JWT + DB password via Secret Manager - block-storage: 100GB b_ssd for training data All managed via Terragrunt with shared provider/backend. Gitignore exception added for infra/*/secrets/ (TF code, not actual secrets). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 lines
1014 B
HCL
47 lines
1014 B
HCL
variable "region" {
|
|
description = "Scaleway region for the Kapsule cluster"
|
|
type = string
|
|
}
|
|
|
|
variable "cluster_name" {
|
|
description = "Name of the Kubernetes cluster"
|
|
type = string
|
|
default = "foxhunt"
|
|
}
|
|
|
|
variable "k8s_version" {
|
|
description = "Kubernetes version for the Kapsule cluster"
|
|
type = string
|
|
default = "1.30"
|
|
}
|
|
|
|
variable "always_on_type" {
|
|
description = "Instance type for the always-on node pool"
|
|
type = string
|
|
default = "DEV1-M"
|
|
}
|
|
|
|
variable "ci_type" {
|
|
description = "Instance type for the CI node pool"
|
|
type = string
|
|
default = "GP1-XS"
|
|
}
|
|
|
|
variable "ci_max_size" {
|
|
description = "Maximum number of nodes in the CI pool"
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "gpu_type" {
|
|
description = "Instance type for the GPU node pool"
|
|
type = string
|
|
default = "H100-1-80G"
|
|
}
|
|
|
|
variable "gpu_max_size" {
|
|
description = "Maximum number of nodes in the GPU pool"
|
|
type = number
|
|
default = 2
|
|
}
|