This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
/
variables.tf
93 lines (72 loc) · 1.74 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
variable "ubuntu_version" {
default = "Ubuntu Xenial"
description = <<EOT
For arm, choose from:
- Ubuntu Xenial
For x86_64, choose from:
- Ubuntu Xenial
- Ubuntu Bionic
Notes:
- kubernetes only has xenial packages for debian
- currently arm is not working with ubuntu bionic (kubeadm init hangs)
EOT
}
variable "docker_version" {
default = "18.06"
description = <<EOT
Specify the docker version either as
- Simplified 5 characters name such as:
- 17.03
- 18.06
- The exact release name such as:
- 17.03.0~ce-0~ubuntu-xenial
- 18.06.0~ce~3-0~ubuntu
EOT
}
variable "k8s_version" {
default = "stable-1.13"
}
variable "weave_passwd" {
default = "ChangeMe"
}
variable "arch" {
default = "arm"
description = "Values: arm arm64 x86_64"
}
variable "region" {
default = "par1"
description = "Values: par1 ams1"
}
variable "server_type" {
default = "C1"
description = "Use C1 for arm, ARM64-2GB for arm64 and C2S for x86_64"
}
variable "server_type_node" {
default = "C1"
description = "Use C1 for arm, ARM64-2GB for arm64 and C2S for x86_64"
}
variable "nodes" {
default = 2
}
variable "ip_admin" {
type = "list"
default = ["0.0.0.0/0"]
description = "IP access to services"
}
variable "private_key" {
type = "string"
default = "~/.ssh/id_rsa"
description = "The path to your private key"
}
variable "container_log_max_size" {
default = "100Mi"
description = "The maximum file size for container logs, k8s 1.12+ only"
}
variable "kubeadm_verbosity" {
default = "0"
description = "The verbosity level of the kubeadm init logs"
}
variable "kubelet_extra_args" {
default = ""
description = "Extra arguments used by kubelet systemd"
}