- Remove gpu-training (H100) and gpu-inference (L4) pool resources, variables, and outputs from kapsule module — L40S handles all GPU work - Switch public-gateway from hardcoded private_network_id to dependency.kapsule.outputs.private_network_id Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
78 lines
1.8 KiB
HCL
78 lines
1.8 KiB
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.34"
|
|
}
|
|
|
|
variable "always_on_type" {
|
|
description = "Instance type for the always-on node pool"
|
|
type = string
|
|
default = "DEV1-M"
|
|
}
|
|
|
|
variable "enable_gitlab_pool" {
|
|
description = "Create dedicated node pool for GitLab CE"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "gitlab_type" {
|
|
description = "Instance type for the GitLab node pool"
|
|
type = string
|
|
default = "DEV1-L"
|
|
}
|
|
|
|
variable "enable_ci_build_pool" {
|
|
description = "Create GPU node pool for CI builds (L4)"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "ci_build_type" {
|
|
description = "Instance type for the CI build node pool (L40S for fast compilation + training)"
|
|
type = string
|
|
default = "L40S-1-48G"
|
|
}
|
|
|
|
variable "ci_build_max_size" {
|
|
description = "Maximum number of nodes in the CI build pool (2 allows concurrent jobs)"
|
|
type = number
|
|
default = 2
|
|
}
|
|
|
|
variable "enable_dev_pool" {
|
|
description = "Create CPU node pool for remote development (DevPod)"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "dev_pool_type" {
|
|
description = "Instance type for the dev node pool"
|
|
type = string
|
|
default = "GP1-L"
|
|
}
|
|
|
|
variable "dev_pool_max_size" {
|
|
description = "Maximum number of nodes in the dev pool"
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "public_ip_disabled" {
|
|
description = "Disable public IPs on all node pools (requires Public Gateway for egress)"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|