-
Notifications
You must be signed in to change notification settings - Fork 1
/
00_vars.tf
98 lines (86 loc) · 2.42 KB
/
00_vars.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
94
95
96
97
98
variable "auth_token" {
description = "Packet API Key"
}
variable "organization_id" {
description = "Packet Organization ID"
}
variable "project_name" {
description = "The name you want to give to your new Packet Project"
default = "k3s-submariner"
}
variable "operating_system" {
description = "The Operating system of the node (Only Ubuntu 16.04 has been tested)"
default = "ubuntu_18_04"
}
variable "billing_cycle" {
description = "How the node will be billed (Not usually changed)"
default = "hourly"
}
variable "ssh_key_path" {
description = "Path to the private key you login to Packet servers with"
default = "~/.ssh/id_rsa"
}
variable "k3s_version" {
description = "The GitHub release version of k3s to install"
default = "v1.17.3+k3s1"
}
variable "helm_version" {
description = "The GitHub release version of helm to install"
default = "v3.0.3"
}
variable "private_ip_cidr" {
description = "This private IP CIDR will be subneted to give unique space to pods and services"
default = "172.16.0.0/12"
}
variable "bgp_asn" {
description = "BGP ASN to peer with Packet"
default = 65000
}
variable "node_pool_name" {
description = "Node Pool name for Kubernetes cluster autoscaler"
default = "pool0"
}
variable "autoscaler_image_version" {
description = "The version of the autoscaler docker image to use"
default = "v1.17.0"
}
variable "server_topology" {
description = "What do you want your server topology to look like?"
default = [
{
"cluster_name": "us-west-1",
"facilty": "sjc1",
"plan": "t1.small.x86",
"min_nodes": 1,
"max_nodes": 5
},
{
"cluster_name": "us-west-2",
"facilty": "sjc1",
"plan": "t1.small.x86",
"min_nodes": 1,
"max_nodes": 5
},
{
"cluster_name": "us-east-1",
"facilty": "ewr1",
"plan": "t1.small.x86",
"min_nodes": 1,
"max_nodes": 5
},
{
"cluster_name": "eu-west-1",
"facilty": "ams1",
"plan": "t1.small.x86",
"min_nodes": 1,
"max_nodes": 5
},
{
"cluster_name": "ap-east-1",
"facilty": "nrt1",
"plan": "t1.small.x86",
"min_nodes": 1,
"max_nodes": 5
}
]
}