Use NodeSelector scheduling strategies

Brief introduction

Xiaomi Cloud-ML supports the use of NodeSelector scheduling strategies. When users submit a task, they can specify the Key-value required for scheduling so that service's server can dispatches the task to a specific physical server based on the user's request. The NodeSelector feature also allows us to classify on-line servers, off-line servers and even different types of GPU nodes to provide users with maximum flexibility.

Note: For questions regarding which schedule keys are provided by specific services, please contact the administrator.

Usage example

If the cluster compute node is already tagged with kubernetes.io/hostname, we can submit the task to the specified physical server.

cloudml jobs submit -n linear -m trainer.task -u fds://cloud-ml/linear/trainer-1.0.tar.gz -nsk "kubernetes.io/hostname" -nsv "10.0.0.1"

Parameters introduction

  • -nsk represents the NodeSelector's key. The values are optional. Please contact the administrator.
  • -nsv represents the NodeSelector's value. The values are optional. Please contact the administrator.