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
I saw in #71 that we implemented machine shutdown like:
// InstanceShutdown returns true if the instance is shutdown according to the cloud provider.
// Use the node.name or node.spec.providerID field to find the node in the cloud provider.
func (i *InstancesController) InstanceShutdown(ctx context.Context, node *v1.Node) (bool, error) {
klog.Infof("InstanceShutdown: node %q", node.GetName())
machine, err := i.MetalService.GetMachineFromProviderID(ctx, node.Spec.ProviderID)
if err != nil || machine.Allocation == nil {
return true, err
}
return false, nil
}
We can really tell if a machine is shut down through the machine IPMI information now, so we could adjust that information.
The text was updated successfully, but these errors were encountered:
I am not sure if this is better, from the kubernetes perspective a machine without a allocation is not usable anymore. If it is powered down it might come back ??
I saw in #71 that we implemented machine shutdown like:
We can really tell if a machine is shut down through the machine IPMI information now, so we could adjust that information.
The text was updated successfully, but these errors were encountered: