2018-02-24 04:08:45 +08:00
|
|
|
# your Kubernetes cluster name here
|
|
|
|
cluster_name = "i-didnt-read-the-docs"
|
|
|
|
|
2019-09-09 22:41:19 +08:00
|
|
|
# list of availability zones available in your OpenStack cluster
|
|
|
|
#az_list = ["nova"]
|
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
# SSH key to use for access to nodes
|
|
|
|
public_key_path = "~/.ssh/id_rsa.pub"
|
|
|
|
|
|
|
|
# image to use for bastion, masters, standalone etcd instances, and nodes
|
|
|
|
image = "<image name>"
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
# user on the node (ex. core on Container Linux, ubuntu on Ubuntu, etc.)
|
|
|
|
ssh_user = "<cloud-provisioned user>"
|
|
|
|
|
|
|
|
# 0|1 bastion nodes
|
|
|
|
number_of_bastions = 0
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
#flavor_bastion = "<UUID>"
|
|
|
|
|
|
|
|
# standalone etcds
|
|
|
|
number_of_etcd = 0
|
|
|
|
|
|
|
|
# masters
|
|
|
|
number_of_k8s_masters = 1
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
number_of_k8s_masters_no_etcd = 0
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
number_of_k8s_masters_no_floating_ip = 0
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
number_of_k8s_masters_no_floating_ip_no_etcd = 0
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
flavor_k8s_master = "<UUID>"
|
|
|
|
|
2022-05-03 23:51:56 +08:00
|
|
|
k8s_masters = {
|
|
|
|
# "master-1" = {
|
|
|
|
# "az" = "nova"
|
|
|
|
# "flavor" = "<UUID>"
|
|
|
|
# "floating_ip" = true
|
|
|
|
# "etcd" = true
|
|
|
|
# },
|
|
|
|
# "master-2" = {
|
|
|
|
# "az" = "nova"
|
|
|
|
# "flavor" = "<UUID>"
|
|
|
|
# "floating_ip" = false
|
|
|
|
# "etcd" = true
|
|
|
|
# },
|
|
|
|
# "master-3" = {
|
|
|
|
# "az" = "nova"
|
|
|
|
# "flavor" = "<UUID>"
|
|
|
|
# "floating_ip" = true
|
|
|
|
# "etcd" = true
|
|
|
|
# },
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
# nodes
|
|
|
|
number_of_k8s_nodes = 2
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
number_of_k8s_nodes_no_floating_ip = 4
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
#flavor_k8s_node = "<UUID>"
|
|
|
|
|
|
|
|
# GlusterFS
|
|
|
|
# either 0 or more than one
|
|
|
|
#number_of_gfs_nodes_no_floating_ip = 0
|
|
|
|
#gfs_volume_size_in_gb = 150
|
|
|
|
# Container Linux does not support GlusterFS
|
|
|
|
#image_gfs = "<image name>"
|
|
|
|
# May be different from other nodes
|
|
|
|
#ssh_user_gfs = "ubuntu"
|
|
|
|
#flavor_gfs_node = "<UUID>"
|
|
|
|
|
|
|
|
# networking
|
|
|
|
network_name = "<network>"
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2022-05-03 23:51:56 +08:00
|
|
|
# Use a existing network with the name of network_name. Set to false to create a network with name of network_name.
|
|
|
|
# use_existing_network = true
|
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
external_net = "<UUID>"
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-06-15 01:41:58 +08:00
|
|
|
subnet_cidr = "<cidr>"
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-02-24 04:08:45 +08:00
|
|
|
floatingip_pool = "<pool>"
|
2019-02-18 13:04:41 +08:00
|
|
|
|
2018-09-28 17:35:02 +08:00
|
|
|
bastion_allowed_remote_ips = ["0.0.0.0/0"]
|
2022-05-03 23:51:56 +08:00
|
|
|
|
|
|
|
# Force port security to be null. Some cloud providers do not allow to set port security.
|
2023-02-06 17:35:16 +08:00
|
|
|
# force_null_port_security = false
|