Closed batthebee closed 1 year ago
Only candidate gateway nodes need to be entered into the gateway spec, other nodes only need to be labeled.
Instead of entering these manually, this could also be solved via a label, for example?
for new node added to gw-wlcb
gateway,just run:
kubectl label nodes $(nodeName) raven.openyurt.io/gateway=gw-wlcb
if this node is not a candidate gateway node, you do not need to enter it to gateway spec
If I understand the documentation correctly, nodes must be both labeled and entered into the gateway spec. The labeling of the nodes can be done when registering a node. After that I have to manually adjust the gateway spec. This makes automation very difficult.
Are there currently other ways to do this, e.g. only via the labels? What is the reason for the double entry?