Kwokctl Hack Get

kwokctl hack get #

获取 etcd 中的数据

kwokctl hack get [resource] [name] [flags]

选项 #

      --chunk-size int     chunk size of the list pager (default 500)
  -h, --help               help for get
  -n, --namespace string   namespace of resource
  -o, --output string      output format. One of: (json, yaml, raw, key). (default "yaml")
  -w, --watch              after listing/getting the requested object, watch for changes
      --watch-only         watch for changes to the requested object(s), without listing/getting first

从父命令继承的选项 #

  -c, --config strings   config path (default [~/.kwok/kwok.yaml])
      --dry-run          Print the command that would be executed, but do not execute it
      --name string      cluster name (default "kwok")
  -v, --v log-level      number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO)

另请参见 #

  • kwokctl hack - [实验性] 在没有 API 服务器的情况下,在 etcd 中[获取、放置、删除]资源