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