1KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7
9 kubectl - kubectl controls the Kubernetes cluster manager
10
11
12
14 kubectl [OPTIONS]
15
16
17
19 kubectl controls the Kubernetes cluster manager.
20
21
22 Find more information at: https://kubernetes.io/docs/refer‐
23 ence/kubectl/overview/
24
25
26
28 --as="" Username to impersonate for the operation. User could be a
29 regular user or a service account in a namespace.
30
31
32 --as-group=[] Group to impersonate for the operation, this flag
33 can be repeated to specify multiple groups.
34
35
36 --as-uid="" UID to impersonate for the operation.
37
38
39 --azure-container-registry-config="" Path to the file containing
40 Azure container registry configuration information.
41
42
43 --cache-dir="/builddir/.kube/cache" Default cache directory
44
45
46 --certificate-authority="" Path to a cert file for the certificate
47 authority
48
49
50 --client-certificate="" Path to a client certificate file for TLS
51
52
53 --client-key="" Path to a client key file for TLS
54
55
56 --cluster="" The name of the kubeconfig cluster to use
57
58
59 --context="" The name of the kubeconfig context to use
60
61
62 --insecure-skip-tls-verify=false If true, the server's certificate
63 will not be checked for validity. This will make your HTTPS connections
64 insecure
65
66
67 --kubeconfig="" Path to the kubeconfig file to use for CLI re‐
68 quests.
69
70
71 --match-server-version=false Require server version to match
72 client version
73
74
75 -n, --namespace="" If present, the namespace scope for this CLI
76 request
77
78
79 --password="" Password for basic authentication to the API server
80
81
82 --profile="none" Name of profile to capture. One of
83 (none|cpu|heap|goroutine|threadcreate|block|mutex)
84
85
86 --profile-output="profile.pprof" Name of the file to write the
87 profile to
88
89
90 --request-timeout="0" The length of time to wait before giving up
91 on a single server request. Non-zero values should contain a corre‐
92 sponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't time‐
93 out requests.
94
95
96 -s, --server="" The address and port of the Kubernetes API server
97
98
99 --tls-server-name="" Server name to use for server certificate
100 validation. If it is not provided, the hostname used to contact the
101 server is used
102
103
104 --token="" Bearer token for authentication to the API server
105
106
107 --user="" The name of the kubeconfig user to use
108
109
110 --username="" Username for basic authentication to the API server
111
112
113 --version=false Print version information and quit
114
115
116 --warnings-as-errors=false Treat warnings received from the server
117 as errors and exit with a non-zero exit code
118
119
120
122 kubectl-alpha(1), kubectl-annotate(1), kubectl-api-resources(1),
123 kubectl-api-versions(1), kubectl-apply(1), kubectl-attach(1), kubectl-
124 auth(1), kubectl-autoscale(1), kubectl-certificate(1), kubectl-cluster-
125 info(1), kubectl-completion(1), kubectl-config(1), kubectl-cordon(1),
126 kubectl-cp(1), kubectl-create(1), kubectl-debug(1), kubectl-delete(1),
127 kubectl-describe(1), kubectl-diff(1), kubectl-drain(1), kubectl-
128 edit(1), kubectl-exec(1), kubectl-explain(1), kubectl-expose(1),
129 kubectl-get(1), kubectl-kustomize(1), kubectl-label(1), kubectl-
130 logs(1), kubectl-options(1), kubectl-patch(1), kubectl-plugin(1),
131 kubectl-port-forward(1), kubectl-proxy(1), kubectl-replace(1), kubectl-
132 rollout(1), kubectl-run(1), kubectl-scale(1), kubectl-set(1), kubectl-
133 taint(1), kubectl-top(1), kubectl-uncordon(1), kubectl-version(1),
134 kubectl-wait(1),
135
136
137
139 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
140 com) based on the kubernetes source material, but hopefully they have
141 been automatically generated since!
142
143
144
145Manuals User KUBERNETES(1)(kubernetes)