This repository has been archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
terraform.tfvars.example
103 lines (70 loc) · 2.7 KB
/
terraform.tfvars.example
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
# DigitalOcean API token
do_token = "your_token"
# Admin password to access Rancher
admin_password = "adminadminadmin"
# Resources will be prefixed with this to avoid clashing names
prefix = "myname"
# rancher/rancher image tag to use
rancher_version = "v2.7.9"
# Rancher server audit log level (0-3)
audit_level = 0
# Extra arguments for rancher/rancher container
rancher_args = ""
#rancher_args = "--debug"
# Region where server should be created
region_server = "lon1"
# Region where agent(s) should be created
region_agent = "lon1"
# Count of agent nodes with role all
count_agent_all_nodes = "3"
# Count of agent nodes with role etcd
count_agent_etcd_nodes = "0"
# Count of agent nodes with role controlplane
count_agent_controlplane_nodes = "0"
# Count of agent nodes with role worker
count_agent_worker_nodes = "0"
# Count of tools nodes
count_tools_nodes = "0"
# Count of RKE2/Government agent nodes with role all
count_rke2_agent_all_nodes = "0"
# Count of RKE2/Government agent nodes with role etcd
count_rke2_agent_etcd_nodes = "0"
# Count of RKE2/Government agent nodes with role controlplane
count_rke2_agent_controlplane_nodes = "0"
# Count of RKE2/Government agent nodes with role worker
count_rke2_agent_worker_nodes = "0"
# Docker version of host running `rancher/rancher`
docker_version_server = "24.0"
# Docker version of host being added to a cluster (running `rancher/rancher-agent`)
docker_version_agent = "24.0"
# Docker root on agent nodes
docker_root = ""
# K8s version of created cluster
#k8s_version = "v1.12.0-rancher1-1"
k8s_version = ""
# Droplet sizes
all_size = "s-4vcpu-8gb"
etcd_size = "s-4vcpu-8gb"
controlplane_size = "s-4vcpu-8gb"
worker_size = "s-4vcpu-8gb"
tools_size = "s-4vcpu-8gb"
# Image of host running `rancher/rancher`
image_server = "ubuntu-22-04-x64"
# Image of host being added to a cluster (running `rancher/rancher-agent`)
image_agent = "ubuntu-22-04-x64"
# Image for host running tools
image_tools = "ubuntu-22-04-x64"
## User for server image
user_server = "root"
## User for agent image
user_agent = "root"
## User for tools image
user_tools = "root"
## Kernel parameters for server
kernel_nf_conntrack_max = "131072"
# DigitalOcean ssh-keyid
# ssh_keys = [ "your_key_id" ]
# Retrieve using (max 200 keys in account): `curl -s -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/account/keys?per_page=200" | jq -r '.ssh_keys[] | select(.name=="YOUR_KEY_NAME") | .id'`
# If you have more than 200 keys in your account, use: `doctl -t $DIGITALOCEAN_TOKEN compute ssh-key list | grep YOUR_KEY_NAME | awk '{ print $1 }'`
# If this is not specified, you will get an email with the root password
ssh_keys = []