Skip to content

Commit

Permalink
Merge pull request #637 from Netcracker/PSUPCLPL-15188_doc_update_on_…
Browse files Browse the repository at this point in the history
…add_lb_node

[PSUPCLPL-15188] Add a note about balancers to add_node procedure to MG
  • Loading branch information
koryaga authored Apr 17, 2024
2 parents 4c65173 + d70c460 commit f9cfeb7
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions documentation/Maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -830,10 +830,26 @@ nodes:
**Note**:

* The connection information for new nodes can be used from defaults as described in the [Kubemarine Inventory Node Defaults](Installation.md#nodedefaults) section in _Kubemarine Installation Procedure_. If the connection information is not present by default, define the information in each new node configuration.
* If you intend to add the new `balancer` node with VRRP IP, and have previously not configured the `vrrp_ips` section, you need to do the following preliminarily:
* If you intend to add a new `balancer` node with VRRP IP, and have previously not configured the `vrrp_ips` section, you need to do the following preliminarily:
* And the section to the main `cluster.yaml`.
* If you already have balancers without VRRP IPs, reconfigure the balancers and DNS,
for example, using `kubemarine install --tasks prepare.dns.etc_hosts,deploy.loadbalancer.haproxy.configure,deploy.loadbalancer.keepalived,deploy.coredns`
for example, using `kubemarine install --tasks prepare.dns.etc_hosts,deploy.loadbalancer.haproxy.configure,deploy.loadbalancer.keepalived,deploy.coredns`.
* If you intend to add a new `balancer` node with VRRP IP, and have previously configured the `vrrp_ips` section in the `cluster.yaml` with the `hosts` subsection, then add the new balancer node to the `vrrp_ips.*.hosts` section in the `cluster.yaml` in the same way as the old balancer nodes if this new node has to share the same VRRP IP address.

For example, if you want `new-balancer-node-1` to be added to a subset of balancer nodes that share VRRP IP `192.168.0.100`:

```
vrrp_ips:
- hosts:
- name: balancer-node-1
priority: 254
- name: balancer-node-2
priority: 253
- name: new-balancer-node-1
ip: 192.168.0.100
```

It may be useful, if you have some VRRP IPs working at different subsets of balancer nodes. If you have one VRRP IP and all the balancer nodes must share it, just remove the `hosts` section from `vrrp_ips`.

### Add Node Tasks Tree

Expand Down

0 comments on commit f9cfeb7

Please sign in to comment.