API Reference

knts context

Set the default context

Synopsis

This command sets the default context of the kubernetes cluster. A context is a group of cluster access parameters. Each context contains a Kubernetes cluster, a user, and a namespace. The current context is the default cluster for any knts CLI command.

Usage

knts context [command]

or

knts context [flags]

Sub-commands

  delete            Delete a context
  list              List available contexts
  show              Print the current context
  use               Set the default context

Flags

  -b, --builder string             url of the builder service
  -h, --help                       help for context
      --insecure-skip-tls-verify   If enabled, the server certificate will not be checked for validity. This will make your connections insecure
  -n, --namespace string           namespace of your knts context

Global Flags

  -l, --log-level string    amount of information outputted (debug, info, warn, error) (default "warn")
      --log-output string   output format for logs (tty, plain, json) (default "tty")