1OC ADM DIAGNOSTICS(1)              June 2016             OC ADM DIAGNOSTICS(1)
2
3
4

NAME

6       oc  adm  diagnostics appcreate - Create an application and test that it
7       deploys correctly.
8
9
10

SYNOPSIS

12       oc adm diagnostics appcreate [OPTIONS]
13
14
15

DESCRIPTION

17       Runs the AppCreate diagnostic.
18
19
20       Create an application and test that it deploys correctly.
21
22
23

OPTIONS

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

OPTIONS INHERITED FROM PARENT COMMANDS

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       --httptest.serve=""
262           if non-empty, httptest.NewServer serves on this address and blocks
263
264
265       --insecure-skip-tls-verify=false
266           If true, the server's certificate will not be checked for validity.
267       This will make your HTTPS connections insecure
268
269
270       --kubeconfig=""
271           Path to the kubeconfig file to use for CLI requests.
272
273
274       --log-flush-frequency=0
275           Maximum number of seconds between log flushes
276
277
278       --log_backtrace_at=:0
279           when logging hits line file:N, emit a stack trace
280
281
282       --log_cadvisor_usage=false
283           Whether to log the usage of the cAdvisor container
284
285
286       --log_dir=""
287           If non-empty, write log files in this directory
288
289
290       --logtostderr=true
291           log to standard error instead of files
292
293
294       --machine_id_file="/etc/machine-id,/var/lib/dbus/machine-id"
295           Comma-separated list of files to  check  for  machine-id.  Use  the
296       first one that exists.
297
298
299       --match-server-version=false
300           Require server version to match client version
301
302
303       -n, --namespace=""
304           If present, the namespace scope for this CLI request
305
306
307       --request-timeout="0"
308           The  length  of  time  to  wait before giving up on a single server
309       request. Non-zero values should contain a corresponding time unit (e.g.
310       1s, 2m, 3h). A value of zero means don't timeout requests.
311
312
313       -s, --server=""
314           The address and port of the Kubernetes API server
315
316
317       --stderrthreshold=2
318           logs at or above this threshold go to stderr
319
320
321       --storage_driver_buffer_duration=0
322           Writes  in  the  storage driver will be buffered for this duration,
323       and committed to the non memory backends as a single transaction
324
325
326       --storage_driver_db="cadvisor"
327           database name
328
329
330       --storage_driver_host="localhost:8086"
331           database host:port
332
333
334       --storage_driver_password="root"
335           database password
336
337
338       --storage_driver_secure=false
339           use secure connection with database
340
341
342       --storage_driver_table="stats"
343           table name
344
345
346       --storage_driver_user="root"
347           database username
348
349
350       --token=""
351           Bearer token for authentication to the API server
352
353
354       --user=""
355           The name of the kubeconfig user to use
356
357
358       -v, --v=0
359           log level for V logs
360
361
362       --version=false
363           Print version information and quit
364
365
366       --vmodule=
367           comma-separated list of pattern=N settings for  file-filtered  log‐
368       ging
369
370
371

SEE ALSO

373       oc-adm-diagnostics(1),
374
375
376

HISTORY

378       June 2016, Ported from the Kubernetes man-doc generator
379
380
381
382Openshift                  Openshift CLI User Manuals    OC ADM DIAGNOSTICS(1)
Impressum