forked from linode/terraform-linode-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
72 lines (59 loc) · 2.29 KB
/
variables.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
65
66
67
68
69
70
71
72
variable "cni_version" {
default = "v0.6.0"
description = "Container Network Plugin Version"
}
variable "k8s_version" {
default = "v1.14.0"
description = "Kubernetes version to install"
}
variable "crictl_version" {
default = "v1.14.0"
description = "Container Runtime Interface version to install"
}
variable "k8s_feature_gates" {
default = "CSINodeInfo=true,CSIDriverRegistry=true,BlockVolume=true,CSIBlockVolume=true"
description = "Feature gates to enable in the Kubelet and API server"
}
variable "region" {
default = "eu-west"
description = "Linode Region: us-central us-west us-southeast us-east eu-west ap-south eu-central ap-northeast ap-northeast-1a"
}
variable "server_type_master" {
default = "g6-standard-2"
description = "Linode Instance type: g6-nanode-1 g6-standard-1 g6-standard-2 g6-standard-4 g6-standard-6 g6-standard-8 g6-standard-16 g6-standard-20 g6-standard-24 g6-standard-32 g6-highmem-1 g6-highmem-2 g6-highmem-4 g6-highmem-8 g6-highmem-16"
}
variable "server_type_node" {
default = "g6-standard-2"
description = "Linode Instance type: g6-nanode-1 g6-standard-1 g6-standard-2 g6-standard-4 g6-standard-6 g6-standard-8 g6-standard-16 g6-standard-20 g6-standard-24 g6-standard-32 g6-highmem-1 g6-highmem-2 g6-highmem-4 g6-highmem-8 g6-highmem-16"
}
variable "masters" {
default = 1
description = "Number of control-plane (master) nodes. This must be 1 for now."
}
variable "nodes" {
default = 3
description = "Number of worker nodes to provision"
}
variable "cluster_name" {
default = ""
description = "Name of the Kubernetes cluster"
}
variable "linode_token" {
type = "string"
description = "Linode API v4 Personal Access Token"
}
variable "ssh_private_key" {
type = "string"
default = "~/.ssh/id_rsa"
description = "The path to your private key"
}
variable "ssh_public_key" {
type = "string"
default = "~/.ssh/id_rsa.pub"
description = "The path to your public key"
}
variable "update_agent_reboot_paused" {
type = "string"
default = "true"
description = "Pause the container-linux update-agent operator from triggering reboots. Defaults to 'true' (Paused) to prevent the control-plane from rebooting in the first few minutes of the cluster's life-cycle."
}