KUBERNETES(1) kubernetes KUBERNETES(1) (NAME) kubectl-config-view - kubeconfig kubeconfig (SYNOPSIS) kubectl config view [OPTIONS] (DESCRIPTION) kubeconfig kubeconfig. --output jsonpath={...} jsonpath . (OPTIONS) --allow-missing-template-keys=true true (map key) . golang jsonpath . --flatten=false (flatten) kubeconfig ( kubeconfig) --merge=true kubeconfig --minify=false current-context -o, --output="yaml" . : (json, yaml, kyaml, name, go-template, go-template- file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath- file). --raw=false (raw) --show-managed-fields=false true JSON YAML managedFields . --template="" -o=go-template -o=go-template-file . golang [http://golang.org/pkg/text/template/#pkg-overview]. (OPTIONS INHERITED FROM PARENT COMMANDS) --as="" (impersonate) . (service account) namespace . --as-group=[] . --as-uid="" UID . --as-user-extra=[] . --cache-dir="/home/username/.kube/cache" --certificate-authority="" (certificate authority) --client-certificate="" TLS --client-key="" TLS --cluster="" kubeconfig --context="" kubeconfig --disable-compression=false true --insecure-skip-tls-verify=false true . HTTPS --kubeconfig="" kubeconfig --kuberc="" kuberc (preferences). export feature gate KUBECTL_KUBERC=false KUBERC=off . --match-server-version=false -n, --namespace="" namespace CLI --password="" (basic authentication) API --profile="none" . (none|cpu|heap|goroutine|threadcreate|block|mutex|trace) --profile-output="profile.pprof" --request-timeout="0" . ( 1s 2m 3h). (timeout) . -s, --server="" Kubernetes API --tls-server-name="" . hostname --token="" (Bearer token) API --user="" kubeconfig --username="" API --version=false --version --version=raw --version=vX.Y.Z... --warnings-as-errors=false (EXAMPLES) # kubeconfig kubectl config view # kubeconfig secrets kubectl config view --raw # e2e kubectl config view -o jsonpath='{.users[?(@.name == "e2e")].user.password}' (SEE ALSO) kubectl-config(1) (HISTORY) Eric Paris (eparis at redhat dot com) kubernetes ! Eric Paris Jan 2015 KUBERNETES(1)