Removed AutoRemoveTaint
This commit is contained in:
@@ -22,7 +22,6 @@ func NewRegistry(ctx *node.NodeContext) *Registry {
|
|||||||
|
|
||||||
return &Registry{
|
return &Registry{
|
||||||
steps: map[string]node.Step{
|
steps: map[string]node.Step{
|
||||||
"AllowSingleNodeScheduling": node.AllowSingleNodeScheduling,
|
|
||||||
"ApplyLocalNodeMetadataIfPossible": node.ApplyLocalNodeMetadataIfPossible,
|
"ApplyLocalNodeMetadataIfPossible": node.ApplyLocalNodeMetadataIfPossible,
|
||||||
"CheckForVersionSkew": node.CheckForVersionSkew,
|
"CheckForVersionSkew": node.CheckForVersionSkew,
|
||||||
"ClassifyBootstrapAction": node.ClassifyBootstrapAction,
|
"ClassifyBootstrapAction": node.ClassifyBootstrapAction,
|
||||||
|
|||||||
@@ -131,11 +131,6 @@ func NewRunner(cfg *monov1alpha1.MonoKSConfig) *Runner {
|
|||||||
Name: "Apply node metadata",
|
Name: "Apply node metadata",
|
||||||
Desc: "Apply labels/annotations to the local node if API server is reachable",
|
Desc: "Apply labels/annotations to the local node if API server is reachable",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
RegKey: "AllowSingleNodeScheduling",
|
|
||||||
Name: "Allow single-node scheduling",
|
|
||||||
Desc: "Remove control-plane taints to allow workloads on single-node clusters",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,8 +73,3 @@ func ApplyLocalNodeMetadataIfPossible(ctx context.Context, nctx *NodeContext) er
|
|||||||
klog.Infof("applied labels/annotations to node %q", nodeName)
|
klog.Infof("applied labels/annotations to node %q", nodeName)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func AllowSingleNodeScheduling(context.Context, *NodeContext) error {
|
|
||||||
klog.Info("allow_single_node_scheduling: TODO implement control-plane taint removal")
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user