1KUBERNETES(1)(kubernetes)                            KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7

NAME

9       kubectl - kubectl controls the Kubernetes cluster manager
10
11
12

SYNOPSIS

14       kubectl [OPTIONS]
15
16
17

DESCRIPTION

19       kubectl controls the Kubernetes cluster manager.
20
21
22       Find more information at: https://kubernetes.io/docs/reference/kubectl/
23
24
25

OPTIONS

27       --as=""      Username to impersonate for the operation. User could be a
28       regular user or a service account in a namespace.
29
30
31       --as-group=[]      Group to impersonate for the  operation,  this  flag
32       can be repeated to specify multiple groups.
33
34
35       --as-uid=""      UID to impersonate for the operation.
36
37
38       --azure-container-registry-config=""       Path  to the file containing
39       Azure container registry configuration information.
40
41
42       --cache-dir="/builddir/.kube/cache"      Default cache directory
43
44
45       --certificate-authority=""      Path to a cert file for the certificate
46       authority
47
48
49       --client-certificate=""      Path to a client certificate file for TLS
50
51
52       --client-key=""      Path to a client key file for TLS
53
54
55       --cluster=""      The name of the kubeconfig cluster to use
56
57
58       --context=""      The name of the kubeconfig context to use
59
60
61       --disable-compression=false       If true, opt-out of response compres‐
62       sion for all requests to the server
63
64
65       --insecure-skip-tls-verify=false      If true, the server's certificate
66       will not be checked for validity. This will make your HTTPS connections
67       insecure
68
69
70       --kubeconfig=""      Path to the kubeconfig file to  use  for  CLI  re‐
71       quests.
72
73
74       --match-server-version=false        Require  server  version  to  match
75       client version
76
77
78       -n, --namespace=""      If present, the namespace scope  for  this  CLI
79       request
80
81
82       --password=""      Password for basic authentication to the API server
83
84
85       --profile="none"         Name   of   profile   to   capture.   One   of
86       (none|cpu|heap|goroutine|threadcreate|block|mutex)
87
88
89       --profile-output="profile.pprof"      Name of the  file  to  write  the
90       profile to
91
92
93       --request-timeout="0"       The length of time to wait before giving up
94       on a single server request. Non-zero values  should  contain  a  corre‐
95       sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
96       out requests.
97
98
99       -s, --server=""      The address and port of the Kubernetes API server
100
101
102       --tls-server-name=""      Server name to  use  for  server  certificate
103       validation.  If  it  is  not provided, the hostname used to contact the
104       server is used
105
106
107       --token=""      Bearer token for authentication to the API server
108
109
110       --user=""      The name of the kubeconfig user to use
111
112
113       --username=""      Username for basic authentication to the API server
114
115
116       --version=false      Print version information and quit
117
118
119       --warnings-as-errors=false      Treat warnings received from the server
120       as errors and exit with a non-zero exit code
121
122
123

SEE ALSO

125       kubectl-alpha(1),     kubectl-annotate(1),    kubectl-api-resources(1),
126       kubectl-api-versions(1), kubectl-apply(1), kubectl-attach(1),  kubectl-
127       auth(1), kubectl-autoscale(1), kubectl-certificate(1), kubectl-cluster-
128       info(1), kubectl-completion(1),  kubectl-config(1),  kubectl-cordon(1),
129       kubectl-cp(1),  kubectl-create(1), kubectl-debug(1), kubectl-delete(1),
130       kubectl-describe(1),   kubectl-diff(1),   kubectl-drain(1),    kubectl-
131       edit(1),    kubectl-events(1),   kubectl-exec(1),   kubectl-explain(1),
132       kubectl-expose(1),  kubectl-get(1),  kubectl-kustomize(1),  kubectl-la‐
133       bel(1), kubectl-logs(1), kubectl-options(1), kubectl-patch(1), kubectl-
134       plugin(1),   kubectl-port-forward(1),   kubectl-proxy(1),   kubectl-re‐
135       place(1),    kubectl-rollout(1),    kubectl-run(1),   kubectl-scale(1),
136       kubectl-set(1), kubectl-taint(1), kubectl-top(1),  kubectl-uncordon(1),
137       kubectl-version(1), kubectl-wait(1),
138
139
140

HISTORY

142       January  2015,  Originally compiled by Eric Paris (eparis at redhat dot
143       com) based on the kubernetes source material, but hopefully  they  have
144       been automatically generated since!
145
146
147
148Manuals                              User            KUBERNETES(1)(kubernetes)
Impressum