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
In manager cluster resource, probe for NSX connectivity before
joining cluster nodes. Parameters for connection probing are
specified within `node_connectivity` block.
This option is useful since nsx manager nodes might be spawned
within same apply process, in which case it would take a while
for NSX API endpoint to become responsive. Rather than using
custom provisioner script to ensure connectivity, we give a
probe and wait option in manager cluster resource.
Standard retry mechanism will not be present in this connection
probing in order to avoid duplication (we expect retry parameters
to be very different for regular retry and initial connection probing)
Signed-off-by: Anna Khmelnitsky <[email protected]>
Copy file name to clipboardExpand all lines: website/docs/r/manager_cluster.html.markdown
+7
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ This resource is supported with NSX 4.1.0 onwards.
12
12
The main node for the cluster is the host in terraform nsxt provider config,
13
13
user will need to specify the nodes that will join the cluster in the resource config.
14
14
Only one instance of nsxt_manager_cluster resource is supported.
15
+
If `api_probing` is enabled, this resource will wait for NSX API endpoints to come up
16
+
before performing cluster joining.
15
17
16
18
## Example Usage
17
19
@@ -38,6 +40,11 @@ The following arguments are supported:
38
40
*`ip_address` - (Required) Ip address of the node.
39
41
*`username` - (Required) The username for login to the node.
40
42
*`password` - (Required) The password for login to the node.
43
+
*`api_probing` - (Optional) Parameters for probing NSX API endpoint connection. Since NSX nodes might have been created during same apply, we might need to wait until the API endpoint becomes available and all required default objects are created.
44
+
*`enabled` - (Optional) Whether API connectivity check is enabled. Default is `true`.
45
+
*`delay` - (Optional) Initial delay before we start probing API endpoint in seconds. Default is 0.
46
+
*`interval` - (Optional) Interval for probing API endpoint in seconds. Default is 10.
47
+
*`timeout` - (Optional) Timeout for probing the API endpoint in seconds. Default is 1800.
0 commit comments