Kwokctl 获取 Kubeconfig

kwokctl get kubeconfig #

打印集群 kubeconfig

kwokctl get kubeconfig [flags]

选项 #

      --group strings              Signing certificate with the specified groups if modified (default [system:masters])
  -h, --help                       help for kubeconfig
      --host string                Override host[:port] for kubeconfig (default "127.0.0.1")
      --insecure-skip-tls-verify   Skip server certificate verification
      --user string                Signing certificate with the specified user if modified (default "kwok-admin")

从父命令继承的选项 #

  -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 get - 获取 [工件、集群、组件、kubeconfig] 之一