Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titlecluster.tfvars
collapsetrue
# list of availability zones available in your OpenStack cluster
az_list = ["nova"]

# SSH key to use for access to nodes
public_key_path = "/home/centos/.ssh/id_rsa.pub"

# image to use for bastion, masters, standalone etcd instances, and nodes
image = "centos-8-CNAF-x86_64"

# standalone etcds
number_of_etcd = 0
#flavor_etcd = "23e53bd6-be2f-4802-8126-3d7b367468f0"		#m1.training

# masters
number_of_k8s_masters = 1
number_of_k8s_masters_no_etcd = 0
number_of_k8s_masters_no_floating_ip = 0
number_of_k8s_masters_no_floating_ip_no_etcd = 0
flavor_k8s_master = "23e53bd6-be2f-4802-8126-3d7b367468f0"	#m1.training
#flavor_k8s_master = "5037b00e-2917-449e-b40b-4e41c8dfea07"	#m1.large
#flavor_k8s_master = "f322e78e-5ba7-4a00-ba31-fc025518a782"	#m1.xlarge

# nodes
number_of_k8s_nodes = 3
number_of_k8s_nodes_no_floating_ip = 0
flavor_k8s_node = "23e53bd6-be2f-4802-8126-3d7b367468f0"	#m1.training

# networking
router_id = "dec41a75-f1e1-4ec2-8c6a-bd87eb283bcc"			# It is possible to use an existing router instead of creating one
network_name = "network-02"
external_net = "ac57f9a8-4349-4185-8d66-341d1b30a1bd"
subnet_cidr = "192.168.102.0/24"
floatingip_pool = "public"
master_allowed_remote_ips = ["192.168.0.0/16"]
k8s_allowed_remote_ips = ["192.168.0.0/16"]

...