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