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

NAME

6       oc import - Commands that import applications
7
8
9

SYNOPSIS

11       oc import [OPTIONS]
12
13
14

DESCRIPTION

16       Import outside applications into OpenShift
17
18
19       These commands assist in bringing existing applications into OpenShift.
20
21
22

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

272       oc(1), oc-import-app.json(1),
273
274
275

HISTORY

277       June 2016, Ported from the Kubernetes man-doc generator
278
279
280
281Openshift                  Openshift CLI User Manuals                    OC(1)
Impressum