1KUBERNETES(1)                      Jan 2015                      KUBERNETES(1)
2
3
4

NAME

6       kubectl cluster-info - Display cluster info
7
8
9

SYNOPSIS

11       kubectl cluster-info [OPTIONS]
12
13
14

DESCRIPTION

16       Display  addresses  of  the  master  and  services  with  label  kuber‐
17       netes.io/cluster-service=true To further  debug  and  diagnose  cluster
18       problems, use 'kubectl cluster-info dump'.
19
20
21

OPTIONS INHERITED FROM PARENT COMMANDS

23       --allow-verification-with-non-compliant-keys=false
24           Allow  a  SignatureVerifier  to  use  keys  which  are  technically
25       non-compliant with RFC6962.
26
27
28       --alsologtostderr=false
29           log to standard error as well as files
30
31
32       --application-metrics-count-limit=100
33           Max number of application metrics to store (per container)
34
35
36       --as=""
37           Username to impersonate for the operation
38
39
40       --as-group=[]
41           Group to impersonate for the operation, this flag can  be  repeated
42       to specify multiple groups.
43
44
45       --azure-container-registry-config=""
46           Path  to the file containing Azure container registry configuration
47       information.
48
49
50       --boot-id-file="/proc/sys/kernel/random/boot_id"
51           Comma-separated list of files to check for boot-id. Use  the  first
52       one that exists.
53
54
55       --cache-dir="/builddir/.kube/http-cache"
56           Default HTTP cache directory
57
58
59       --certificate-authority=""
60           Path to a cert file for the certificate authority
61
62
63       --client-certificate=""
64           Path to a client certificate file for TLS
65
66
67       --client-key=""
68           Path to a client key file for TLS
69
70
71       --cloud-provider-gce-lb-src-cidrs=130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16
72           CIDRs opened in GCE firewall for LB traffic proxy  health checks
73
74
75       --cluster=""
76           The name of the kubeconfig cluster to use
77
78
79       --container-hints="/etc/cadvisor/container_hints.json"
80           location of the container hints file
81
82
83       --containerd="unix:///var/run/containerd.sock"
84           containerd endpoint
85
86
87       --context=""
88           The name of the kubeconfig context to use
89
90
91       --default-not-ready-toleration-seconds=300
92           Indicates   the   tolerationSeconds   of   the    toleration    for
93       notReady:NoExecute  that is added by default to every pod that does not
94       already have such a toleration.
95
96
97       --default-unreachable-toleration-seconds=300
98           Indicates the tolerationSeconds  of  the  toleration  for  unreach‐
99       able:NoExecute  that  is  added  by  default to every pod that does not
100       already have such a toleration.
101
102
103       --docker="unix:///var/run/docker.sock"
104           docker endpoint
105
106
107       --docker-env-metadata-whitelist=""
108           a comma-separated list of environment variable keys that  needs  to
109       be collected for docker containers
110
111
112       --docker-only=false
113           Only report docker containers in addition to root stats
114
115
116       --docker-root="/var/lib/docker"
117           DEPRECATED:  docker  root is read from docker info (this is a fall‐
118       back, default: /var/lib/docker)
119
120
121       --docker-tls=false
122           use TLS to connect to docker
123
124
125       --docker-tls-ca="ca.pem"
126           path to trusted CA
127
128
129       --docker-tls-cert="cert.pem"
130           path to client certificate
131
132
133       --docker-tls-key="key.pem"
134           path to private key
135
136
137       --enable-load-reader=false
138           Whether to enable cpu load reader
139
140
141       --event-storage-age-limit="default=0"
142           Max length of time for which to store events (per type). Value is a
143       comma  separated  list  of  key  values, where the keys are event types
144       (e.g.: creation, oom) or "default" and the value is a duration. Default
145       is applied to all non-specified event types
146
147
148       --event-storage-event-limit="default=0"
149           Max  number  of  events to store (per type). Value is a comma sepa‐
150       rated list of key values, where the keys are event  types  (e.g.:  cre‐
151       ation,  oom)  or  "default"  and  the  value  is an integer. Default is
152       applied to all non-specified event types
153
154
155       --global-housekeeping-interval=1m0s
156           Interval between global housekeepings
157
158
159       --google-json-key=""
160           The Google Cloud Platform Service  Account  JSON  Key  to  use  for
161       authentication.
162
163
164       --housekeeping-interval=10s
165           Interval between container housekeepings
166
167
168       --insecure-skip-tls-verify=false
169           If true, the server's certificate will not be checked for validity.
170       This will make your HTTPS connections insecure
171
172
173       --kubeconfig=""
174           Path to the kubeconfig file to use for CLI requests.
175
176
177       --log-backtrace-at=:0
178           when logging hits line file:N, emit a stack trace
179
180
181       --log-cadvisor-usage=false
182           Whether to log the usage of the cAdvisor container
183
184
185       --log-dir=""
186           If non-empty, write log files in this directory
187
188
189       --log-flush-frequency=5s
190           Maximum number of seconds between log flushes
191
192
193       --logtostderr=true
194           log to standard error instead of files
195
196
197       --machine-id-file="/etc/machine-id,/var/lib/dbus/machine-id"
198           Comma-separated list of files to  check  for  machine-id.  Use  the
199       first one that exists.
200
201
202       --match-server-version=false
203           Require server version to match client version
204
205
206       --mesos-agent="127.0.0.1:5051"
207           Mesos agent address
208
209
210       --mesos-agent-timeout=10s
211           Mesos agent timeout
212
213
214       -n, --namespace=""
215           If present, the namespace scope for this CLI request
216
217
218       --request-timeout="0"
219           The  length  of  time  to  wait before giving up on a single server
220       request. Non-zero values should contain a corresponding time unit (e.g.
221       1s, 2m, 3h). A value of zero means don't timeout requests.
222
223
224       -s, --server=""
225           The address and port of the Kubernetes API server
226
227
228       --stderrthreshold=2
229           logs at or above this threshold go to stderr
230
231
232       --storage-driver-buffer-duration=1m0s
233           Writes  in  the  storage driver will be buffered for this duration,
234       and committed to the non memory backends as a single transaction
235
236
237       --storage-driver-db="cadvisor"
238           database name
239
240
241       --storage-driver-host="localhost:8086"
242           database host:port
243
244
245       --storage-driver-password="root"
246           database password
247
248
249       --storage-driver-secure=false
250           use secure connection with database
251
252
253       --storage-driver-table="stats"
254           table name
255
256
257       --storage-driver-user="root"
258           database username
259
260
261       --token=""
262           Bearer token for authentication to the API server
263
264
265       --user=""
266           The name of the kubeconfig user to use
267
268
269       -v, --v=0
270           log level for V logs
271
272
273       --version=false
274           Print version information and quit
275
276
277       --vmodule=
278           comma-separated list of pattern=N settings for  file-filtered  log‐
279       ging
280
281
282

EXAMPLE

284                # Print the address of the master and cluster services
285                kubectl cluster-info
286
287
288
289

SEE ALSO

291       kubectl(1), kubectl-cluster-info-dump(1),
292
293
294

HISTORY

296       January  2015,  Originally compiled by Eric Paris (eparis at redhat dot
297       com) based on the kubernetes source material, but hopefully  they  have
298       been automatically generated since!
299
300
301
302Eric Paris                  kubernetes User Manuals              KUBERNETES(1)
Impressum