-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars-cluster.tf
64 lines (54 loc) · 1.55 KB
/
vars-cluster.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
variable "talos_k8s_cluster_name" {
description = "Name of the Talos Kubernetes cluster"
type = string
default = "talos-cluster"
}
variable "talos_k8s_cluster_vip" {
description = "Virtual IP of the Talos Kubernetes cluster"
type = string
}
variable "talos_k8s_cluster_domain" {
description = "Domain name of the Talos Kubernetes cluster"
type = string
default = "talos-cluster.local"
}
variable "talos_k8s_cluster_endpoint_port" {
description = "Port of the Kubernetes API endpoint"
type = number
default = 6443
}
variable "control_plane_first_ip" {
description = "First ip of a control-plane"
type = number
default = 161
}
variable "worker_node_first_ip" {
description = "First ip of a worker node"
type = number
default = 171
}
variable "talos_install_disk_device" {
description = "Disk to install Talos on"
type = string
default = "/dev/vda"
}
variable "control_plane_name_prefix" {
description = "Name prefix used in both VM name and hostname, for a control-plane"
type = string
default = "talos-control-plane"
}
variable "worker_node_name_prefix" {
description = "Name prefix used in both VM name and hostname, for a worker node"
type = string
default = "talos-worker-node"
}
variable "control_plane_first_id" {
description = "First id of a control-plane"
type = number
default = 8100
}
variable "worker_node_first_id" {
description = "First id of a worker node"
type = number
default = 8200
}