1OC EX DIAGNOSTICS(1) June 2016 OC EX DIAGNOSTICS(1)
2
3
4
6 oc ex diagnostics appcreate - Create an application and test that it
7 deploys correctly.
8
9
10
12 oc ex diagnostics appcreate [OPTIONS]
13
14
15
17 Runs the AppCreate diagnostic.
18
19
20 Create an application and test that it deploys correctly.
21
22
23
25 --admission-timeout=10
26 Seconds to wait for the route to be admitted by a router
27
28
29 --app-image="openshift/origin-deployer:v3.11.0"
30 Image for the test application to be created
31
32
33 --app-name="diagnostic-appcreate"
34 Name for the test application to be created
35
36
37 --app-port=8080
38 Port at which the test application listens
39
40
41 --cluster-context=""
42 Client context to use for cluster administrator
43
44
45 --deploy-timeout=120
46 Seconds to wait for the app to be ready
47
48
49 -l, --diaglevel=1
50 Level of diagnostic output: 4: Error, 3: Warn, 2: Notice, 1: Info,
51 0: Debug
52
53
54 --http-retries=10
55 Number of times to retry an HTTP request to the app
56
57
58 --http-timeout=500
59 Milliseconds to wait for an HTTP request to the app
60
61
62 --keep-app=false
63 Do not delete the test app when complete
64
65
66 --keep-project=false
67 Do not delete randomized project when complete
68
69
70 --loglevel=0
71 Set the level of log output (0-10)
72
73
74 --logspec=""
75 Set per module logging with file|pattern=LEVEL,...
76
77
78 --node-selector=""
79 Node selector for where the test app should land
80
81
82 --prevent-modification=false
83 If true, may be set to prevent diagnostics making any changes via
84 the API
85
86
87 --project=""
88 Project name to use instead of generating from project-base
89
90
91 --project-base="openshift-diagnostic-appcreate-"
92 Base name to create randomized project name
93
94
95 --result-dir=""
96 Directory in which to write result details if desired
97
98
99 --route-host=""
100 Create specific route instead of default
101
102
103 --route-port=80
104 Router port to use for route connection test
105
106
107 --skip-route-connect=false
108 Do not test connecting to the route
109
110
111 --skip-route-test=false
112 Do not test route at all
113
114
115 --skip-service-connect=false
116 Do not test connecting to the service
117
118
119
121 --allow_verification_with_non_compliant_keys=false
122 Allow a SignatureVerifier to use keys which are technically
123 non-compliant with RFC6962.
124
125
126 --alsologtostderr=false
127 log to standard error as well as files
128
129
130 --application_metrics_count_limit=100
131 Max number of application metrics to store (per container)
132
133
134 --as=""
135 Username to impersonate for the operation
136
137
138 --as-group=[]
139 Group to impersonate for the operation, this flag can be repeated
140 to specify multiple groups.
141
142
143 --azure-container-registry-config=""
144 Path to the file containing Azure container registry configuration
145 information.
146
147
148 --boot_id_file="/proc/sys/kernel/random/boot_id"
149 Comma-separated list of files to check for boot-id. Use the first
150 one that exists.
151
152
153 --cache-dir="/builddir/.kube/http-cache"
154 Default HTTP cache directory
155
156
157 --certificate-authority=""
158 Path to a cert file for the certificate authority
159
160
161 --client-certificate=""
162 Path to a client certificate file for TLS
163
164
165 --client-key=""
166 Path to a client key file for TLS
167
168
169 --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
170 CIDRs opened in GCE firewall for LB traffic proxy health checks
171
172
173 --cluster=""
174 The name of the kubeconfig cluster to use
175
176
177 --container_hints="/etc/cadvisor/container_hints.json"
178 location of the container hints file
179
180
181 --containerd="unix:///var/run/containerd.sock"
182 containerd endpoint
183
184
185 --context=""
186 The name of the kubeconfig context to use
187
188
189 --default-not-ready-toleration-seconds=300
190 Indicates the tolerationSeconds of the toleration for
191 notReady:NoExecute that is added by default to every pod that does not
192 already have such a toleration.
193
194
195 --default-unreachable-toleration-seconds=300
196 Indicates the tolerationSeconds of the toleration for unreach‐
197 able:NoExecute that is added by default to every pod that does not
198 already have such a toleration.
199
200
201 --docker="unix:///var/run/docker.sock"
202 docker endpoint
203
204
205 --docker-tls=false
206 use TLS to connect to docker
207
208
209 --docker-tls-ca="ca.pem"
210 path to trusted CA
211
212
213 --docker-tls-cert="cert.pem"
214 path to client certificate
215
216
217 --docker-tls-key="key.pem"
218 path to private key
219
220
221 --docker_env_metadata_whitelist=""
222 a comma-separated list of environment variable keys that needs to
223 be collected for docker containers
224
225
226 --docker_only=false
227 Only report docker containers in addition to root stats
228
229
230 --docker_root="/var/lib/docker"
231 DEPRECATED: docker root is read from docker info (this is a fall‐
232 back, default: /var/lib/docker)
233
234
235 --enable_load_reader=false
236 Whether to enable cpu load reader
237
238
239 --event_storage_age_limit="default=24h"
240 Max length of time for which to store events (per type). Value is a
241 comma separated list of key values, where the keys are event types
242 (e.g.: creation, oom) or "default" and the value is a duration. Default
243 is applied to all non-specified event types
244
245
246 --event_storage_event_limit="default=100000"
247 Max number of events to store (per type). Value is a comma sepa‐
248 rated list of key values, where the keys are event types (e.g.: cre‐
249 ation, oom) or "default" and the value is an integer. Default is
250 applied to all non-specified event types
251
252
253 --global_housekeeping_interval=0
254 Interval between global housekeepings
255
256
257 --housekeeping_interval=0
258 Interval between container housekeepings
259
260
261 --insecure-skip-tls-verify=false
262 If true, the server's certificate will not be checked for validity.
263 This will make your HTTPS connections insecure
264
265
266 --kubeconfig=""
267 Path to the kubeconfig file to use for CLI requests.
268
269
270 --log-flush-frequency=0
271 Maximum number of seconds between log flushes
272
273
274 --log_backtrace_at=:0
275 when logging hits line file:N, emit a stack trace
276
277
278 --log_cadvisor_usage=false
279 Whether to log the usage of the cAdvisor container
280
281
282 --log_dir=""
283 If non-empty, write log files in this directory
284
285
286 --logtostderr=true
287 log to standard error instead of files
288
289
290 --machine_id_file="/etc/machine-id,/var/lib/dbus/machine-id"
291 Comma-separated list of files to check for machine-id. Use the
292 first one that exists.
293
294
295 --match-server-version=false
296 Require server version to match client version
297
298
299 -n, --namespace=""
300 If present, the namespace scope for this CLI request
301
302
303 --request-timeout="0"
304 The length of time to wait before giving up on a single server
305 request. Non-zero values should contain a corresponding time unit (e.g.
306 1s, 2m, 3h). A value of zero means don't timeout requests.
307
308
309 -s, --server=""
310 The address and port of the Kubernetes API server
311
312
313 --stderrthreshold=2
314 logs at or above this threshold go to stderr
315
316
317 --storage_driver_buffer_duration=0
318 Writes in the storage driver will be buffered for this duration,
319 and committed to the non memory backends as a single transaction
320
321
322 --storage_driver_db="cadvisor"
323 database name
324
325
326 --storage_driver_host="localhost:8086"
327 database host:port
328
329
330 --storage_driver_password="root"
331 database password
332
333
334 --storage_driver_secure=false
335 use secure connection with database
336
337
338 --storage_driver_table="stats"
339 table name
340
341
342 --storage_driver_user="root"
343 database username
344
345
346 --token=""
347 Bearer token for authentication to the API server
348
349
350 --user=""
351 The name of the kubeconfig user to use
352
353
354 -v, --v=0
355 log level for V logs
356
357
358 --version=false
359 Print version information and quit
360
361
362 --vmodule=
363 comma-separated list of pattern=N settings for file-filtered log‐
364 ging
365
366
367
369 oc-ex-diagnostics(1),
370
371
372
374 June 2016, Ported from the Kubernetes man-doc generator
375
376
377
378Openshift Openshift CLI User Manuals OC EX DIAGNOSTICS(1)