Forked from
cloud / terraform / modules / kubernetes-infra
10 commits behind, 6 commits ahead of the upstream repository.
-
Josef Smrčka authored
Replace duplicate router interface with a single one which contains dynamic reference to a router. Add dependency to the router interface to all floating IP associations.
Josef Smrčka authoredReplace duplicate router interface with a single one which contains dynamic reference to a router. Add dependency to the router interface to all floating IP associations.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
README.md 12.77 KiB
HOW TO WORK WITH THIS REPO
pre-commit terraform-docs
Requirements
Name | Version |
---|---|
local | ~> 2.5.2 |
openstack | ~> 3.0.0 |
Providers
Name | Version |
---|---|
local | ~> 2.5.2 |
openstack | ~> 3.0.0 |
Modules
No modules.
Resources
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
bastion_flavor | n/a | string |
"e1.small" |
no |
bastion_image | Bastion OS: Image name | string |
"ubuntu-noble-x86_64" |
no |
bastion_name | Name of the bastion VM. Must match [a-zA-Z0-9-]+ regexp. | string |
"bastion-server" |
no |
bastion_ssh_user_name | n/a | string |
"ubuntu" |
no |
control_nodes_count | ######################## control nodes settings # ######################## | number |
3 |
no |
control_nodes_flavor | n/a | string |
"hpc.8core-32ram-ssd-ephem" |
no |
control_nodes_name | Name of the nodes. Must match [a-zA-Z0-9-]+ regexp. | string |
"control" |
no |
control_nodes_volume_size | The size of the volume to create (in gigabytes) for root filesystem. | string |
"30" |
no |
create_lb_kube_api | Create Load Balancer for kube-api | bool |
false |
no |
custom_security_group_rules | Custom security group rules to override the defaults | map(object({ |
{} |
no |
infra_name | Infrastructure (profile) name. Used as a name prefix. Must match [a-zA-Z0-9-]+ regexp. | string |
"general-tf-demo" |
no |
internal_network_cidr | Internal network address, use CIDR notation | string |
"10.0.0.0/24" |
no |
internal_network_creation_enable | Create dedicated internal network. true/false ~ create new / reuse existing personal network | bool |
true |
no |
internal_network_name | Internal network name. Either dedicated new network or existing personal network name | string |
"<var.infra_name>_network" |
no |
internal_subnet_creation_enable | Create dedicated subnet instance. true/false ~ create new / reuse existing personal subnet | bool |
true |
no |
internal_subnet_name | Internal network subnet name. Either dedicated new subnet or existing personal subnet name | string |
"<var.infra_name>_subnet" |
no |
kube_fip | Allocate floating IP for kubespray | bool |
false |
no |
kube_fip_create_port | True if you want floating IP address for kube-vip to access kube-api | bool |
false |
no |
kube_vip | Internal IP for kube-vip to access kube-api | string |
"10.0.0.5" |
no |
lb_kube_api_listener_port | Listener port for kube-aip load balancer | number |
6443 |
no |
lb_kube_api_member_port | Port number where kube-api listens. | number |
6443 |
no |
nodes_image | Image used for both control and worker servers | string |
"ubuntu-noble-x86_64" |
no |
public_external_network | Cloud public external network pool | string |
"external-ipv4-general-public" |
no |
remove_rules | List of default rule keys to be removed | list(string) |
[] |
no |
router_creation_enable | Create dedicated router instance. true/false ~ create new / reuse existing personal router | bool |
true |
no |
ssh_public_key | n/a | string |
"~/.ssh/id_rsa.pub" |
no |
ssh_user_name | n/a | string |
"ubuntu" |
no |
worker_nodes | ######################## worker nodes settings # ######################## | list(object({ |
n/a | yes |
Outputs
Name | Description |
---|---|
bastion_external_ip | n/a |
control_instance_ip | n/a |
lb_external_ip | n/a |
vip_fip | n/a |
vip_ip | n/a |
worker_instance_ip | n/a |