Jump to content

Cli/ref/mw gitlab cluster agent update-kubeconfig

From mediawiki.org
< Cli | ref

mw gitlab cluster agent update-kubeconfig

[edit]

Update selected kubeconfig

Synopsis

[edit]

Update selected kubeconfig for use with a GitLab agent for Kubernetes

mw gitlab cluster agent update-kubeconfig [flags]

Options

[edit]
  -a, --agent int           The numeric agent ID to create the kubeconfig entry for
      --kubeconfig string   Use a particular kubeconfig file
  -u, --use-context         Use as default context

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]