1OPENSHIFT START(1) June 2016 OPENSHIFT START(1)
2
3
4
6 openshift start master - Launch a master
7
8
9
11 openshift start master [OPTIONS]
12
13
14
16 Start a master server
17
18
19 This command helps you launch a master server. Running
20
21
22 openshift start master
23
24
25 will start a master listening on all interfaces, launch an etcd server
26 to store persistent data, and launch the Kubernetes system components.
27 The server will run in the foreground until you terminate the process.
28
29
30 Note: starting the master without passing the --master address will
31 attempt to find the IP address that will be visible inside running
32 Docker containers. This is not always successful, so if you have prob‐
33 lems tell the master what public address it should use via --master=
34 <ip>.
35
36
37 You may also pass --etcd= <address>to connect to an external etcd
38 server.
39
40
41
43 --certificate-authority=[]
44 Optional files containing signing authorities to use (in addition
45 to the generated signer) to verify the API server's serving certifi‐
46 cate.
47
48
49 --config=""
50 Location of the master configuration file to run from. When running
51 from a configuration file, all other command-line arguments are
52 ignored.
53
54
55 --cors-allowed-origins=[]
56 List of allowed origins for CORS, comma separated. An allowed ori‐
57 gin can be a regular expression to support subdomain matching. CORS is
58 enabled for localhost, 127.0.0.1, and the asset server by default.
59
60
61 --create-certs=true
62 Indicates whether missing certs should be created
63
64
65 --dns="tcp://0.0.0.0:8053"
66 The address to listen for DNS requests on.
67
68
69 --etcd=" ⟨https://0.0.0.0:4001"⟩
70 The address of the etcd server (host, host:port, or URL). If speci‐
71 fied, no built-in etcd will be started.
72
73
74 --etcd-dir="openshift.local.etcd"
75 The etcd data directory.
76
77
78 --expire-days=730
79 Validity of the certificates in days (defaults to 2 years). WARN‐
80 ING: extending this above default value is highly discouraged.
81
82
83 --host-subnet-length=9
84 The length of subnet each host is given from the network-cidr.
85
86
87 --images="openshift/origin-${component}:${version}"
88 When fetching images used by the cluster for important components,
89 use this format on both master and nodes. The latest release will be
90 used by default.
91
92
93 --kubeconfig=""
94 Path to the kubeconfig file to use for requests to the Kubernetes
95 API.
96
97
98 --kubernetes=" ⟨https://localhost:8443"⟩
99 removed in favor of --kubeconfig
100
101
102 --latest-images=false
103 If true, attempt to use the latest images for the cluster instead
104 of the latest release.
105
106
107 --listen=" ⟨https://0.0.0.0:8443"⟩
108 The address to listen for connections on (scheme://host:port).
109
110
111 --master=" ⟨https://localhost:8443"⟩
112 The master address for use by OpenShift components (host,
113 host:port, or URL). Scheme and port default to the --listen scheme and
114 port. When unset, attempt to use the first public IPv4 non-loopback
115 address registered on this host.
116
117
118 --network-cidr="10.128.0.0/14"
119 The CIDR string representing the network that all containers should
120 belong to.
121
122
123 --network-plugin=""
124 The name of the networking plugin to be used for networking.
125
126
127 --portal-net="172.30.0.0/16"
128 The CIDR string representing the network that portal/service IPs
129 will be assigned from. This must not overlap with any IP ranges
130 assigned to nodes for pods.
131
132
133 --print-ip=false
134 Print the IP that would be used if no master IP is specified and
135 exit.
136
137
138 --public-master=" ⟨https://localhost:8443"⟩
139 The master address for use by public clients, if different (host,
140 host:port, or URL). Defaults to same as --master.
141
142
143 --signer-expire-days=1825
144 Validity of the CA certificate in days (defaults to 5 years). WARN‐
145 ING: extending this above default value is highly discouraged.
146
147
148 --write-config=""
149 Directory to write an initial config into. After writing, exit
150 without starting the server.
151
152
153
155 --azure-container-registry-config=""
156 Path to the file containing Azure container registry configuration
157 information.
158
159
160 --log-flush-frequency=0
161 Maximum number of seconds between log flushes
162
163
164 --version=false
165 Print version information and quit
166
167
168
170 openshift-start(1), openshift-start-master-api(1), openshift-start-mas‐
171 ter-controllers(1),
172
173
174
176 June 2016, Ported from the Kubernetes man-doc generator
177
178
179
180Openshift Openshift CLI User Manuals OPENSHIFT START(1)