linstorNodeConnections:
- name: network-paths
paths:
- interface: enp4s0
name: data
Finaly Linstor does not see second interface - enp4s0. It takes first interface(enp3s0) and if look at UI to node details I can see as default-ipv4 is taken
Note that you don’t have to use the local NIC name like enp4s0 - here I’ve chosen “drbd” as the name by which Linstor refers to the NIC. In turn, it identifies the NIC by its IP address, in this example 1.2.3.4.
Maybe you can convert the above into kubernetes-ese.
Thanks a lot for your answer
it means, that i can’t configure second interface via helm of linstor-cluster? only via linstor cli? i have to perform cli command to create drbd interface?
There seem to be a bunch of Linstor operators out there, and I don’t know or use any of them.
What I’m saying is: once you know how to do it with the CLI, you may be able to find out how to do it via whichever operator you are using (that is, create a “node interface” and set a “node property”). And if it’s not possible, you can raise it as a feature request on the operator’s issue tracker.
Paths configure one or more network connections between nodes. If a path is configured, LINSTOR will use the given network interface to configure DRBD replication. The network interfaces have to be registered with LINSTOR first, using linstor node interface create ... .
So, it doesn’t look like this particular helm chart supports doing this declaratively.
If you are using a different chart, check its documentation.