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
Context
Hi, I deployed openyurt on a cluster with 2 nodes(1 master and 1 worker) to test the autonomy behaviour.
After setting-up yurt-controller-manager and yurt-hub, I stop the kubelet on the edge side.
The logs form yurt-controller-manager shows that the master is entering disruption mode, which is used to protect against master machine network isolation. It will prevent any evictions from happening if master can't see any healthy Node.
I0131 09:49:50.770911 1 node_lifecycle_controller.go:1230] Controller detected that all Nodes are not-Ready. Entering master disruption mode.
@DrmagicE Thank you for filing issue to discuss --feature-gates.
I think that add --feature-gates for yurt-controller-manager is a good idea.
how about you? @Fei-Guo@kadisi
@DrmagicE It looks like that you had dived into the implementation, would you take over this feature that add --feature-gates for yurt-controller-manager?
Context
Hi, I deployed
openyurt
on a cluster with 2 nodes(1 master and 1 worker) to test the autonomy behaviour.After setting-up yurt-controller-manager and yurt-hub, I stop the
kubelet
on the edge side.The logs form
yurt-controller-manager
shows that the master is entering disruption mode, which is used to protect against master machine network isolation. It will prevent any evictions from happening if master can't see any healthy Node.This is because my node name is ending with "master" and the
lifecycle-controller
will not take such node as a worker node:https://github.com/alibaba/openyurt/blob/288aee566107ce7824669c59bb0b286074528293/pkg/controller/nodelifecycle/node_lifecycle_controller.go#L1004-L1015
I can disable
LegacyNodeRoleBehavior
by addingfeature-gates
flags tokube-controller-manager
.But the
openyurt
seems does not has such flag:What would you like to be added:
Add
--feature-gates
flag toyurt-controller-manager
.Why is this needed:
There should be a way to configure feature gates.
The text was updated successfully, but these errors were encountered: