-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
99 lines (80 loc) · 1.66 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
variable "openstack_user_name" {}
variable "openstack_tenant_name" {}
variable "openstack_password" {}
variable "openstack_auth_url" {}
variable "openstack_project_name" {}
variable "openstack_project_id" {}
variable "openstack_user_domain_name" {}
variable "openstack_region" {}
variable "cluster_name" {
type = string
default = "cloud"
}
# Network variables
variable "floatingip_pool" {
type = string
default = "internet_pool"
}
variable "public_network_name" {
type = string
default = "internet_pool"
}
variable "subnet_cidr" {
type = string
default = "10.0.0.0/24"
}
variable "pod_subnet" {
type = string
default = "10.244.0.0/16"
}
# Compute Variables
variable "master_count" {
type = number
default = 1
}
variable "worker_count" {
type = number
default = 1
}
variable "edge_count" {
type = number
default = 1
}
variable "instance_image_id" {
type = string
default = "a51394b8-ffb6-4e04-a7a5-108d7ff58e52"
}
variable "master_instance_flavor_name" {
type = string
default = "lrz.large"
}
variable "worker_instance_flavor_name" {
type = string
default = "lrz.medium"
}
variable "edge_instance_flavor_name" {
type = string
default = "lrz.small"
}
variable "instance_keypair_name" {
type = string
default = "kube-edge-lrz"
description = "SSH keypair name"
}
variable "instance_block_device_volume_size" {
type = number
default = 40
}
variable "ssh_key_file" {
type = string
default = "~/.ssh/kube-edge-lrz.pem"
}
# keadm vars
variable "keadm_version" {
type = string
default = "1.9.1"
}
variable "keadm_host_os" {
type = string
default = "linux-amd64"
}