tfmodules/kubernetes/ovh/variables.tf
gitops_test 553136b5fa sync-modules: mirrored modules of release 3.2.0-F-feature-simpl-31668.652.99e22161
+++ kubernetes/README.md
+++ kubernetes/ovh/credentials.tf
+++ kubernetes/ovh/variables.tf
2026-09-14 16:13:54 +00:00

116 lines
3.2 KiB
HCL

variable "project_id" {
description = "OVH public cloud project id (service_name). Defaults to the OVH_CLOUD_PROJECT_SERVICE variable of the runner environment, derived from the cloud account configuration."
type = string
default = null
}
variable "region" {
description = "OVH region for the cluster, must be a region where Managed Kubernetes is available"
type = string
}
variable "deployment_id" {
description = "Unique deployment identifier, used to build resource names"
type = string
}
variable "cloud_account" {
description = "Cloud account (environment) name, second segment of the Vault credentials path"
type = string
}
variable "requester_unique_id" {
description = "Requester unique id, third segment of the Vault credentials path"
type = string
}
variable "name_prefix" {
description = "Prefix for all resource names"
type = string
default = "simpl"
}
variable "username" {
description = "Consumer ServiceAccount name, last segment of the Vault credentials path"
type = string
default = "simpl-consumer"
}
variable "admin_username" {
description = "Management (renewer) ServiceAccount name, stored in the Vault admin entry"
type = string
default = "simpl-renewer"
}
variable "k8s_version" {
description = "Kubernetes version for the cluster, must be one of the versions currently supported by OVH MKS"
type = string
default = "1.32"
}
variable "k8s_update_policy" {
description = "Cluster patch/upgrade policy: ALWAYS_UPDATE, MINIMAL_DOWNTIME or NEVER_UPDATE"
type = string
default = "ALWAYS_UPDATE"
}
variable "nodepool_flavor" {
description = "Instance flavor for worker nodes, for example b3-8"
type = string
default = "b3-8"
}
variable "nodepool_desired_nodes" {
description = "Initial/desired number of worker nodes"
type = number
default = 3
}
variable "nodepool_min_nodes" {
description = "Minimum number of worker nodes (lower bound when autoscaling)"
type = number
default = 1
}
variable "nodepool_max_nodes" {
description = "Maximum number of worker nodes (upper bound when autoscaling)"
type = number
default = 5
}
variable "nodepool_autoscale" {
description = "Enable the OVH managed cluster autoscaler for the node pool"
type = bool
default = false
}
variable "nodepool_anti_affinity" {
description = "Spread nodes on distinct hypervisors (max 5 nodes per pool when enabled)"
type = bool
default = false
}
variable "nodepool_monthly_billed" {
description = "Bill nodes monthly instead of hourly"
type = bool
default = false
}
variable "private_network_id" {
description = "OpenStack private network (vRack) id the worker nodes should be attached to, null for a public cluster"
type = string
default = null
}
variable "nodes_subnet_id" {
description = "Subnet id (within private_network_id) used by the worker nodes, null for a public cluster"
type = string
default = null
}
variable "gateway_ip" {
description = "IP of the vRack gateway to route node egress traffic through, null to use the OVH managed default gateway"
type = string
default = null
}