-
Notifications
You must be signed in to change notification settings - Fork 1.5k
OpenStack: Custom API and Ingress vip addresses #3366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,6 +62,8 @@ resource "openstack_networking_port_v2" "masters" { | |
| allowed_address_pairs { | ||
| ip_address = var.ingress_ip | ||
| } | ||
|
|
||
| depends_on = [openstack_networking_port_v2.api_port, openstack_networking_port_v2.ingress_port] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since masters get random ips, we must add this dependency so that master are created after api and ingress ports. |
||
| } | ||
|
|
||
| resource "openstack_networking_port_v2" "api_port" { | ||
|
|
@@ -73,8 +75,7 @@ resource "openstack_networking_port_v2" "api_port" { | |
| tags = ["openshiftClusterID=${var.cluster_id}"] | ||
|
|
||
| fixed_ip { | ||
| subnet_id = openstack_networking_subnet_v2.nodes.id | ||
| # FIXME(mandre) we could let the installer automatically pick up the address | ||
| subnet_id = openstack_networking_subnet_v2.nodes.id | ||
| ip_address = var.api_int_ip | ||
| } | ||
| } | ||
|
|
@@ -88,8 +89,7 @@ resource "openstack_networking_port_v2" "ingress_port" { | |
| tags = ["openshiftClusterID=${var.cluster_id}"] | ||
|
|
||
| fixed_ip { | ||
| subnet_id = openstack_networking_subnet_v2.nodes.id | ||
| # FIXME(mandre) we could let the installer automatically pick up the address | ||
| subnet_id = openstack_networking_subnet_v2.nodes.id | ||
| ip_address = var.ingress_ip | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,9 @@ Beyond the [platform-agnostic `install-config.yaml` properties](../customization | |
| * `octaviaSupport` (optional string): Whether OpenStack supports Octavia (`1` for true or `0` for false) | ||
| * `region` (deprecated string): The OpenStack region where the cluster will be created. Currently this value is not used by the installer. | ||
| * `trunkSupport` (optional string): Whether OpenStack ports can be trunked (`1` for true or `0` for false) | ||
| * `clusterOSImage` (optional string): Either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes or an existing Glance image name. | ||
| * `clusterOSimage` (optional string): Either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes or an existing Glance image name. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs to match the Go JSON serialization. Fixed via #3439. |
||
| * `apiVIP` (optional string): An IP addresss on the machineNetwork that will be assigned to the API VIP. Be aware that the `10` and `11` of the machineNetwork will be taken by neutron dhcp by default, and wont be available. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any link to documentation that provides the 10, 11 being reserved? |
||
| * `ingressVIP` (optional string): An IP address on the machineNetwork that will be assigned to the ingress VIP. Be aware that the `10` and `11` of the machineNetwork will be taken by neutron dhcp by default, and wont be available. | ||
|
|
||
| ## Machine pools | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to make sure that the bootstrap port is created after the master ports, which in turn are created after the api and ingress.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would like to see this part of the commit message ❤️