You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/clusteropenstack/configuration.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,9 +134,11 @@ openstack network list --external
134
134
135
135
Note: If your openstack cluster does not already have a public network, you should contact your cloud service provider. We will not review how to troubleshoot this here.
136
136
137
-
## Floating IP
137
+
## API server floating IP
138
138
139
-
A floating IP is automatically created and associated with the load balancer or controller node, but you can specify the floating IP explicitly by `spec.apiServerFloatingIP` of `OpenStackCluster`.
139
+
Unless explicitly disabled, a floating IP is automatically created and associated with the load balancer
140
+
or controller node. If required, you can specify the floating IP explicitly by `spec.apiServerFloatingIP`
141
+
of `OpenStackCluster`.
140
142
141
143
You have to be able to create a floating IP in your OpenStack in advance. You can create one using,
142
144
@@ -146,6 +148,31 @@ openstack floating ip create <public network>
146
148
147
149
Note: Only user with admin role can create a floating IP with specific IP.
148
150
151
+
### Disabling the API server floating IP
152
+
153
+
It is possible to provision a cluster without a floating IP for the API server by setting
154
+
`OpenStackCluster.spec.disableAPIServerFloatingIP: true` (the default is `false`). This will
155
+
prevent a floating IP from being allocated.
156
+
157
+
> **WARNING**
158
+
>
159
+
> If the API server does not have a floating IP, workload clusters will only deploy successfully
160
+
> when the management cluster and control plane nodes are on the same network. This can be
161
+
> a project-specific network, if the management cluster lives in the same project as the workload
162
+
> cluster, or a network that is shared across multiple projects.
163
+
>
164
+
> In particular, this means that the cluster **cannot** use `OpenStackCluster.spec.nodeCidr`
165
+
> to provision a new network for the cluster. Instead, use `OpenStackCluster.spec.network`
166
+
> to explicitly specify the network that the management cluster is on.
167
+
168
+
When the API server floating IP is disabled, it is **not possible** to provision a cluster
169
+
without a load balancer without additional configuration (an advanced use-case that is not
170
+
documented here). This is because the API server must still have a
171
+
[virtual IP](https://en.wikipedia.org/wiki/Virtual_IP_address) that is not associated with
172
+
a particular control plane node in order to allow the nodes to change underneath, e.g.
173
+
during an upgrade. When the API server has a floating IP, this role is fulfilled by the
174
+
floating IP even if there is no load balancer. When the API server does not have a floating
0 commit comments