OADM(1)

NAME

oadm config - Change configuration files for the client

SYNOPSIS

oadm config [OPTIONS]

DESCRIPTION

Manage the client config files

The client stores configuration in the current user's home directory (under the .kube directory as config). When you login the first time, a new config file is created, and subsequent project changes with the 'project' command will set the current context. These subcommands allow you to manage the config directly.

Reference: ⟨https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/kubeconfig-file.md⟩

OPTIONS

--config=""
    use a particular kubeconfig file

OPTIONS INHERITED FROM PARENT COMMANDS

--api-version=""
    DEPRECATED: The API version to use when talking to the server

--as=""
    Username to impersonate for the operation

--azure-container-registry-config=""
    Path to the file container Azure container registry configuration information.

--certificate-authority=""
    Path to a cert. file for the certificate authority

--client-certificate=""
    Path to a client certificate file for TLS

--client-key=""
    Path to a client key file for TLS

--cluster=""
    The name of the kubeconfig cluster to use

--context=""
    The name of the kubeconfig context to use

--google-json-key=""
    The Google Cloud Platform Service Account JSON Key to use for authentication.

--insecure-skip-tls-verify=false
    If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure

--log-flush-frequency=0
    Maximum number of seconds between log flushes

--match-server-version=false
    Require server version to match client version

-n, --namespace=""
    If present, the namespace scope for this CLI request

--request-timeout="0"
    The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

--server=""
    The address and port of the Kubernetes API server

--token=""
    Bearer token for authentication to the API server

--user=""
    The name of the kubeconfig user to use

EXAMPLE

      # Change the config context to use
      oadm config use-context my-context

      # Set the value of a config preference
      oadm config set preferences.some true

SEE ALSO

oadm(1), oadm-config-current-context(1), oadm-config-delete-cluster(1), oadm-config-delete-context(1), oadm-config-get-clusters(1), oadm-config-get-contexts(1), oadm-config-set(1), oadm-config-set-cluster(1), oadm-config-set-context(1), oadm-config-set-credentials(1), oadm-config-unset(1), oadm-config-use-context(1), oadm-config-view(1),

HISTORY

June 2016, Ported from the Kubernetes man-doc generator