591ae700ce
* Adding bastion and private network provisioning for openstack terraform * Remove usage of floating-ip property * Combine openstack instances + floating ips * Fix relating floating IPs to hosts for openstack builds * Tighten up security groups Allow ssh into all instances with floating IP * Add the gluster hosts to the no-floating group * Break terraform into modules * Update README and var descriptions to match current config * Remove volume property in gluster compute def * Include cluster name in internal network and router names * Make dns_nameservers a variable
83 lines
956 B
HCL
83 lines
956 B
HCL
variable "cluster_name" {
|
|
}
|
|
|
|
variable "number_of_k8s_masters" {
|
|
}
|
|
|
|
variable "number_of_k8s_masters_no_etcd" {
|
|
}
|
|
|
|
variable "number_of_etcd" {
|
|
}
|
|
|
|
variable "number_of_k8s_masters_no_floating_ip" {
|
|
}
|
|
|
|
variable "number_of_k8s_masters_no_floating_ip_no_etcd" {
|
|
}
|
|
|
|
variable "number_of_k8s_nodes" {
|
|
}
|
|
|
|
variable "number_of_k8s_nodes_no_floating_ip" {
|
|
}
|
|
|
|
variable "number_of_bastions" {
|
|
}
|
|
|
|
variable "number_of_gfs_nodes_no_floating_ip" {
|
|
}
|
|
|
|
variable "gfs_volume_size_in_gb" {
|
|
}
|
|
|
|
variable "public_key_path" {
|
|
}
|
|
|
|
variable "image" {
|
|
}
|
|
|
|
variable "image_gfs" {
|
|
}
|
|
|
|
variable "ssh_user" {
|
|
}
|
|
|
|
variable "ssh_user_gfs" {
|
|
}
|
|
|
|
variable "flavor_k8s_master" {
|
|
}
|
|
|
|
variable "flavor_k8s_node" {
|
|
}
|
|
|
|
variable "flavor_etcd" {
|
|
}
|
|
|
|
variable "flavor_gfs_node" {
|
|
}
|
|
|
|
variable "network_name" {
|
|
}
|
|
|
|
variable "flavor_bastion" {
|
|
}
|
|
|
|
|
|
variable "network_id"{
|
|
|
|
}
|
|
|
|
|
|
variable "k8s_master_fips" {
|
|
type = "list"
|
|
}
|
|
|
|
variable "k8s_node_fips" {
|
|
type = "list"
|
|
}
|
|
|
|
variable "bastion_fips" {
|
|
type = "list"
|
|
}
|