< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Prevent and Allow Pod Scheduling

This section explains how to prevent pods from being scheduled to nodes.

Prerequisites

You should join a cluster and have the Node Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the Node Management permission, and access your cluster.

  2. In the left navigation pane, select Nodes > Cluster Nodes to open the node list.

  3. Click More on the right side of a node, and select Cordon from the dropdown list. The node status will change to Unschedulable.

  4. On the right side of the node with the status Unschedulable, Click More, and then select Uncordon from the dropdown list to allow pods to be scheduled to this node.

Note

When the node status is changed to Unschedulable, newly created pods will no longer be scheduled to this node, and existing pods running on the node will not be affected.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page