Searching for results...

No results

Your search did not match anything from Mirantis documentation.
Check your spelling or try different keywords.

An error occurred

An error occurred while using the search.
Try your search again or contact us to let us know about it.

Newer documentation is now live.You are currently reading an older version.

StackLight pods get stuck with the ‘NodeAffinity failed’ error

On a MOSK cluster, the StackLight Pods may get stuck with the Pod predicate NodeAffinity failed error in the Pod status. The issue may occur if the StackLight node label was added to one machine and then removed from another one.

The issue does not affect the StackLight services, all required StackLight Pods migrate successfully except extra Pods that are created and stuck during Pod migration.

To apply the issue resolution, remove the stuck Pods:

kubectl --kubeconfig <moskClusterKubeconfig> -n stacklight delete pod <stuckPodName>