AI-Hypercomputer / AI-Hypercomputer/xpk

Support multiple clusterqueues / localqueues with xpk

未关闭
#51 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
193
派生
94
平均合并
24 分钟
30 天内合并 PR
1

描述

xpk currently supports one cluster queue / local queue. If an xpk cluster administrator wants to split capacity between different use cases, they would currently have to create separate xpk clusters.

xpk can support multiple quotas within the same cluster by using multiple clusterqueues / localqueues.
```
# create a cluster that organizes resource usage limits across different queues
xpk cluster create --quotas= {local_queue_name: device_type, num_slices, local_queue_name2: device_type, num_slices}
# xpk needs to check that the quotas are less than or equal to the quota available
# resources not specified with a quota will be sent to the default cluster kueue
# run a workload against one of the above queues (local queue name)
xpk cluster create --queue=local_queue_name
# by default the queue will be multislice-queue
# if queue doesn't exist, xpk can list the queues available in the error.
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。