tweaked readme
This commit is contained in:
parent
b70b33bfda
commit
769d2e4e2e
@ -9,28 +9,24 @@ private_key = "/home/username/.ssh/id_ed25519"
|
||||
# For Hetzner server types see https://www.hetzner.com/cloud
|
||||
location = "fsn1" # change to `ash` for us-east Ashburn, Virginia location
|
||||
network_region = "eu-central" # change to `us-east` if location is ash
|
||||
network_ipv4_range = "10.0.0.0/8"
|
||||
|
||||
# It's best to leave the network range as is, unless you know what you are doing. The default is "10.0.0.0/8".
|
||||
# network_ipv4_range = "10.0.0.0/8"
|
||||
|
||||
# You can have up to as many subnets as you want (preferably if the form of 10.X.0.0/16), their primary use is to logically separate the nodes. As for the agent nodepools, below is just an example, if you do not want nodepools, just use one, and change the name to what you want, it need not be "big" or "small", also give them the subnet you want, or keep the default.
|
||||
network_ipv4_subnets = {
|
||||
control_plane = "10.1.0.0/16"
|
||||
subnet1 = "10.2.0.0/16"
|
||||
subnet2 = "10.3.0.0/16"
|
||||
}
|
||||
|
||||
control_plane_server_type = "cpx11"
|
||||
load_balancer_type = "lb11"
|
||||
|
||||
# At least 3 server nodes is recommended for HA, otherwise you need to turn off automatic upgrade (see ReadMe).
|
||||
control_plane_count = 3
|
||||
|
||||
|
||||
agent_nodepools = {
|
||||
big = {
|
||||
server_type = "cpx31",
|
||||
server_type = "cpx21",
|
||||
count = 1,
|
||||
subnet = "subnet1",
|
||||
}
|
||||
small = {
|
||||
server_type = "cpx21",
|
||||
server_type = "cpx11",
|
||||
count = 2,
|
||||
subnet = "subnet2",
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ variable "network_region" {
|
||||
variable "network_ipv4_range" {
|
||||
description = "Default IPv4 range for network"
|
||||
type = string
|
||||
default = "10.0.0.0/8"
|
||||
}
|
||||
|
||||
variable "network_ipv4_subnets" {
|
||||
|
Loading…
Reference in New Issue
Block a user