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

NAME

6       oc create imagestream - Create a new empty image stream.
7
8
9

SYNOPSIS

11       oc create imagestream [OPTIONS]
12
13
14

DESCRIPTION

16       Create a new image stream
17
18
19       Image  streams  allow  you  to track, tag, and import images from other
20       registries. They also define an access controlled destination that  you
21       can push images to. An image stream can reference images from many dif‐
22       ferent registries and control how those images are referenced by  pods,
23       deployments, and builds.
24
25
26       If  --lookup-local  is  passed,  the  image  stream will be used as the
27       source when pods reference it by name. For example, if  stream  'mysql'
28       resolves  local names, a pod that points to 'mysql:latest' will use the
29       image the image stream points to under the "latest" tag.
30
31
32

OPTIONS

34       --allow-missing-template-keys=true
35           If true, ignore any errors in templates when a field or map key  is
36       missing  in  the  template.  Only applies to golang and jsonpath output
37       formats.
38
39
40       --dry-run=false
41           If true, only print the object that would be sent, without  sending
42       it.
43
44
45       --lookup-local=false
46           If  true,  the  image  stream  will be the source for any top-level
47       image reference in this project.
48
49
50       -o, --output=""
51           Output format.  One  of:  json|yaml|name|go-template-file|template‐
52       file|template|go-template|jsonpath|jsonpath-file.
53
54
55       --template=""
56           Template  string  or  path  to template file to use when -o=go-tem‐
57       plate, -o=go-template-file. The template format is golang  templates  [
58http://golang.org/pkg/text/template/#pkg-overview⟩].
59
60
61

OPTIONS INHERITED FROM PARENT COMMANDS

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

EXAMPLE

315                # Create a new image stream
316                oc create imagestream mysql
317
318
319
320

SEE ALSO

322       oc-create(1),
323
324
325

HISTORY

327       June 2016, Ported from the Kubernetes man-doc generator
328
329
330
331Openshift                  Openshift CLI User Manuals             OC CREATE(1)
Impressum