标签: resources nomad
如果我点击了API端点localhost:4646/v1/allocations,则可以获取特定Nomad服务器上每次分配的数据。
localhost:4646/v1/allocations
但是我必须再次致电localhost:4646/v1/allocations/<allocation-id>,以查看该分配的任务组/任务的CPU和内存资源。
localhost:4646/v1/allocations/<allocation-id>
是否可以通过一个API调用获取每种分配的任务列表和/或资源信息?