Explorar o código

Add documentation for setting network.host with azure discovery

With 2.0, we now bind to `localhost` by default instead of binding to the network card and use its IP address.

When the discovery plugin gets from Azure API the list of nodes that should form the cluster, this list is pinged then. But as each node is bound to `localhost`, ping does not get an answer and the node elects itself as the master node.

Closes #13591
David Pilato %!s(int64=10) %!d(string=hai) anos
pai
achega
71ec1f09e3
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      docs/plugins/cloud-azure.asciidoc

+ 12 - 0
docs/plugins/cloud-azure.asciidoc

@@ -54,6 +54,18 @@ discovery:
     type: azure
 ----
 
+
+[IMPORTANT]
+.Binding the network host
+==============================================
+
+It's important to define `network.host` as by default it's bound to `localhost`.
+
+You can use {ref}/modules-network.html[core network host settings]. For example `_non_loopback_` or `_en0_`.
+
+==============================================
+
+
 [[cloud-azure-discovery-short]]
 ===== How to start (short story)