+++ title = "CLI"
date = 2019-01-28 lastmod = 2020-09-04
draft = false # Is this a draft? true/false toc = true # Show table of contents? true/false type = "docs" # Do not modify.
linktitle = "命令行" [menu.docs] parent = "cli" weight = 1 +++
Volcano提供了命令行工具用于管理资源。
- 您可以自己从 github 上克隆代码并在项目的根目录下执行以下命令制作最新的可执行文件:
# make vcctl
- 将可执行文件拷贝到$PATH下以便您能在任何地方执行它。
# vcctl job list
Name Creation Phase JobType Replicas Min Pending Running Succeeded Failed Unknown RetryCount
job-1 2020-09-01 Running Batch 1 1 0 1 0 0 0 0
# vcctl delete job --name job-1 --namespaces default
delete job job-1 successfully
# vcctl job suspend --name job-1 --namespace default
# vcctl job resume --name job-1 --namespace default
# vcctl job run --name job-1 --namespace default
如需获取更多命令行详情请按如下操作:
# vcctl -h
# vcctl [command] -h