kueuectl resume clusterqueue
概要
恢复之前暂停的 ClusterQueue。
kueuectl resume clusterqueue NAME
示例
# 恢复集群队列
kueuectl resume clusterqueue my-clusterqueue
选项
--allow-missing-template-keys 默认值: true | |
如果为 true,当模板中缺少字段或映射键时忽略模板中的任何错误。仅适用于 golang 和 jsonpath 输出格式。 | |
-h, --help | |
clusterqueue 命令的帮助信息 | |
-o, --output string | |
输出格式。可选值为:json、yaml、name、go-template、go-template-file、template、templatefile、jsonpath、jsonpath-as-json、jsonpath-file。 | |
--show-managed-fields | |
如果为 true,在 JSON 或 YAML 格式打印对象时保留 managedFields。 | |
--template string | |
当使用 -o=go-template、-o=go-template-file 时要使用的模板字符串或模板文件路径。模板格式是 golang 模板 [http://golang.org/pkg/text/template/#pkg-overview]。 |
从父命令继承的选项
--as string | |
为操作模拟的用户名。用户可以是普通用户或命名空间中的服务账户。 | |
--as-group strings | |
为操作模拟的组,此标志可以重复使用,以指定多个组。 | |
--as-uid string | |
为操作模拟的 UID。 | |
--cache-dir string 默认值: "$HOME/.kube/cache" | |
默认缓存目录 | |
--certificate-authority string | |
证书颁发机构的证书文件路径 | |
--client-certificate string | |
TLS 客户端证书文件路径 | |
--client-key string | |
TLS 客户端密钥文件路径 | |
--cluster string | |
要使用的 kubeconfig 集群的名称 | |
--context string | |
要使用的 kubeconfig 上下文的名称 | |
--disable-compression | |
如果为 true,则取消对所有服务器请求的响应压缩 | |
--dry-run string 默认值: "none" | |
必须是 "none"、"server" 或 "client"。如果是客户端策略,只打印将要发送的对象,而不发送它。如果是服务器策略,提交服务器端请求而不持久化资源。 | |
--insecure-skip-tls-verify | |
如果为 true,将不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全 | |
--kubeconfig string | |
用于 CLI 请求的 kubeconfig 文件路径。 | |
-n, --namespace string | |
如果存在,则为此次 CLI 请求的命名空间范围 | |
--request-timeout string 默认值: "0" | |
在放弃单个服务器请求之前要等待的时间长度。非零值应包含相应的时间单位(例如 1s、2m、3h)。零值意味着不要超时请求。 | |
-s, --server string | |
Kubernetes API 服务器的地址和端口 | |
--tls-server-name string | |
用于服务器证书验证的服务器名称。如果未提供,则使用联系服务器所用的主机名 | |
--token string | |
API 服务器身份验证所用的持有者令牌 | |
--user string | |
要使用的 kubeconfig 用户的名称 |
另请参阅
- kueuectl resume - 恢复资源
反馈
这个页面有帮助吗?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.