-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathvariables.tf
111 lines (89 loc) · 2.27 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# vim: foldmethod=indent
## Provider
variable "auth_token" {
description = "Secret key/password for your provider."
type = "string"
}
variable "project_id" {
description = "Project ID"
type = "string"
}
variable "spot_instance" {
description = "Set to true to create a spot instance. See: https://help.packet.net/technical/deployment-options/spot-market"
type = "string"
default = "false"
}
variable "spot_price_max" {
description = "The bid price for your spot_instance."
type = "string"
default = "0.0"
}
variable "termination_time" {
description = "A predetermined time to delete your spot_instance. Takes RFC3339 (e.g. \"2018-09-21T19:20:01-05:00\") or duration (e.g. \"6h20m\") formats."
type = "string"
default = ""
}
## Machine
variable operating_system {
description = "The operating system to provision servers with."
type = "string"
default = "custom_ipxe"
}
variable ipxe_script_url {
description = "URL that points to an iPXE script to boot."
type = "string"
default = "https://raw.githubusercontent.com/cloudnativelabs/pxe/master/packet/coreos-alpha-packet.ipxe"
}
variable always_pxe {
description = "If true then the servers will boot via iPXE on reboots."
type = "string"
default = "true"
}
variable server_type {
default = "baremetal_0"
}
variable facility {
default = "ewr1"
}
variable controller_count {
description = "How many kubernetes controller servers to create."
type = "string"
}
variable worker_count {
description = "How many kubernetes worker servers to create."
type = "string"
}
variable server_domain {
description = "Domain to append to server hostnames."
type = "string"
default = "localdomain"
}
## Bootkube
variable cluster_name {
default = "test"
}
variable kubernetes_version {
default = "v1.7.6"
}
variable asset_dir {
default = "assets"
}
variable etcd_servers {
type = "list"
default = []
}
variable experimental_self_hosted_etcd {
default = false
}
## Customize Kubernetes components/addons
variable use_kube_router {
default = true
}
variable kube_router {
type = "map"
default = {
pod_networking = true
service_proxy = true
network_policy = true
}
}