Skip to content

Commit 047fbbf

Browse files
authored
Merge pull request openshift#7419 from mburke5678/remove-master-service
Changed master service to master-api and master-controllers
2 parents 26d5476 + c5c3b2e commit 047fbbf

36 files changed

+340
-345
lines changed

admin_guide/backup_restore.adoc

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -724,16 +724,10 @@ etcdctl -C https://${ETCD_CA_HOST}:2379 --ca-file=/etc/etcd/ca.crt \
724724
.. If a failed etcd host was replaced, remove it from the list.
725725
.. Restart the master API service.
726726
+
727-
On a single master cluster installation:
727+
On each master:
728728
+
729729
----
730-
# systemctl restart atomic-openshift-master
731-
----
732-
+
733-
On a multi-master cluster installation, on each master:
734-
+
735-
----
736-
# systemctl restart atomic-openshift-master-api
730+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
737731
----
738732

739733
The procedure to add an etcd member is complete.
@@ -745,20 +739,6 @@ The procedure to add an etcd member is complete.
745739
On each {product-title} master, restore your master and node configuration from
746740
backup and enable and restart all relevant services.
747741

748-
On the master in a single master cluster:
749-
750-
----
751-
# cp /etc/sysconfig/atomic-openshift-master.rpmsave /etc/sysconfig/atomic-openshift-master
752-
# cp /etc/origin/master/master-config.yaml.<timestamp> /etc/origin/master/master-config.yaml
753-
# cp /etc/origin/node/node-config.yaml.<timestamp> /etc/origin/node/node-config.yaml
754-
# systemctl enable atomic-openshift-master
755-
# systemctl enable atomic-openshift-node
756-
# systemctl start atomic-openshift-master
757-
# systemctl start atomic-openshift-node
758-
----
759-
760-
On each master in a multi-master cluster:
761-
762742
----
763743
# cp /etc/sysconfig/atomic-openshift-master-api.rpmsave /etc/sysconfig/atomic-openshift-master-api
764744
# cp /etc/sysconfig/atomic-openshift-master-controllers.rpmsave /etc/sysconfig/atomic-openshift-master-controllers

admin_guide/encrypting_data.adoc

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,10 @@ from Golang or `random.random()` from Python are not suitable.
190190
+
191191
ifdef::openshift-origin[]
192192
----
193-
# systemctl restart origin-master
193+
# systemctl restart origin-openshift-master-api origin-openshift-master-controllers
194194
----
195195
endif::[]
196196
ifdef::openshift-enterprise[]
197-
On a single master cluster installation:
198-
+
199-
----
200-
# systemctl restart atomic-openshift-master
201-
----
202-
On a multi-master cluster installation, on each master:
203-
+
204197
----
205198
# systemctl restart atomic-openshift-master-api
206199
----
@@ -290,17 +283,10 @@ If using a single API server, you can skip this step.
290283
+
291284
ifdef::openshift-origin[]
292285
----
293-
# systemctl restart origin-master
286+
# systemctl restart origin-master-api origin-master-controllers
294287
----
295288
endif::[]
296289
ifdef::openshift-enterprise[]
297-
On a single master cluster installation:
298-
+
299-
----
300-
# systemctl restart atomic-openshift-master
301-
----
302-
On a multi-master cluster installation, on each master:
303-
+
304290
----
305291
# systemctl restart atomic-openshift-master-api
306292
----
@@ -314,17 +300,10 @@ key.
314300
+
315301
ifdef::openshift-origin[]
316302
----
317-
# systemctl restart origin-master
303+
# systemctl restart origin-master-api origin-master-controllers
318304
----
319305
endif::[]
320306
ifdef::openshift-enterprise[]
321-
On a single master cluster installation:
322-
+
323-
----
324-
# systemctl restart atomic-openshift-master
325-
----
326-
On a multi-master cluster installation, on each master:
327-
+
328307
----
329308
# systemctl restart atomic-openshift-master-api
330309
----
@@ -365,17 +344,10 @@ resources:
365344
+
366345
ifdef::openshift-origin[]
367346
----
368-
# systemctl restart origin-master
347+
# systemctl restart origin-master-api origin-master-controllers
369348
----
370349
endif::[]
371350
ifdef::openshift-enterprise[]
372-
On a single master cluster installation:
373-
+
374-
----
375-
# systemctl restart atomic-openshift-master
376-
----
377-
On a multi-master cluster installation, on each master:
378-
+
379351
----
380352
# systemctl restart atomic-openshift-master-api
381353
----

admin_guide/managing_networking.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,12 @@ admissionConfig:
136136
location: ""
137137
----
138138

139-
. Restart the master service for the changes to take effect:
139+
. Restart the master services for the changes to take effect:
140140
+
141141
[source, bash]
142142
----
143-
$ systemctl restart atomic-openshift-master
143+
$ systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
144+
144145
----
145146

146147
[[admin-guide-controlling-egress-traffic]]

admin_guide/managing_projects.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,16 @@ projectConfig:
157157

158158
Restart the OpenShift service for the changes to take effect:
159159

160+
ifdef::openshift-origin[]
161+
----
162+
# systemctl restart origin-master-api origin-master-controllers
163+
----
164+
endif::[]
165+
ifdef::openshift-enterprise[]
160166
----
161-
# systemctl restart atomic-openshift-master
167+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
162168
----
169+
endif::[]
163170

164171
=== Setting the Project-wide Node Selector
165172

@@ -300,11 +307,11 @@ effect.
300307

301308
ifdef::openshift-origin[]
302309
----
303-
# systemctl restart origin-master
310+
# systemctl restart origin-master-api origin-master-controllers
304311
----
305312
endif::[]
306313
ifdef::openshift-enterprise[]
307314
----
308-
# systemctl restart atomic-openshift-master
315+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
309316
----
310317
endif::[]

admin_guide/quota.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,18 @@ kubernetesMasterConfig:
484484
----
485485

486486

487-
After making any changes, restart the master service to apply them.
487+
After making any changes, restart the master services to apply them.
488+
489+
ifdef::openshift-origin[]
490+
----
491+
# systemctl restart origin-master-api origin-master-controllers
492+
----
493+
endif::[]
494+
ifdef::openshift-enterprise[]
495+
----
496+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
497+
----
498+
endif::[]
488499

489500
Adjusting the regeneration time can be helpful for creating resources and
490501
determining resource usage when automation is used.

admin_guide/scheduling/scheduler.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,13 +585,14 @@ kubernetesMasterConfig:
585585
ifdef::openshift-origin[]
586586
+
587587
----
588-
# systemctl restart origin-master
588+
# systemctl restart origin-master-api origin-master-controllers
589589
----
590590
endif::[]
591591
ifdef::openshift-enterprise[]
592592
+
593593
----
594-
# systemctl restart atomic-openshift-master
594+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
595+
595596
----
596597
endif::[]
597598

@@ -674,13 +675,13 @@ kubernetesMasterConfig:
674675
ifdef::openshift-origin[]
675676
+
676677
----
677-
# systemctl restart origin-master
678+
# systemctl restart origin-master-api origin-master-controllers
678679
----
679680
endif::[]
680681
ifdef::openshift-enterprise[]
681682
+
682683
----
683-
# systemctl restart atomic-openshift-master
684+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
684685
----
685686
endif::[]
686687

@@ -755,13 +756,13 @@ admissionConfig:
755756
ifdef::openshift-origin[]
756757
+
757758
----
758-
# systemctl restart origin-master
759+
# systemctl restart origin-master-api origin-master-controllers
759760
----
760761
endif::[]
761762
ifdef::openshift-enterprise[]
762763
+
763764
----
764-
# systemctl restart atomic-openshift-master
765+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
765766
----
766767
endif::[]
767768

admin_guide/scheduling/taints_tolerations.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ admissionConfig:
215215
+
216216
ifdef::openshift-enterprise[]
217217
----
218-
# systemctl restart atomic-openshift-master
218+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
219219
----
220220
endif::[]
221221
ifdef::openshift-origin[]
222222
----
223-
# systemctl restart origin-master
223+
# systemctl restart origin-master-api origin-master-controllers
224224
----
225225
endif::[]
226226

@@ -287,12 +287,12 @@ Taints: node.alpha.kubernetes.io/notReady:NoExecute
287287
+
288288
ifdef::openshift-enterprise[]
289289
----
290-
# systemctl restart atomic-openshift-master
290+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
291291
----
292292
endif::[]
293293
ifdef::openshift-origin[]
294294
----
295-
# systemctl restart origin-master
295+
# systemctl restart origin-master-api origin-master-controllers
296296
----
297297
endif::[]
298298

admin_guide/tcp_ingress_external_ports.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,18 @@ ifdef::openshift-origin,openshift-enterprise[]
182182
The externalIPs must be selected by the administrator from the
183183
*externalIPNetworkCIDRs* range configured in the
184184
xref:../admin_guide/tcp_ingress_external_ports.adoc#unique-external-ips-ingress-traffic-configure-cluster[*_master-config.yaml_*]
185-
file. When *_master-config.yaml_* changes, the master service must be restarted.
185+
file. When *_master-config.yaml_* changes, the master services must be restarted.
186+
endif::[]
187+
188+
ifdef::openshift-origin[]
189+
----
190+
# systemctl restart origin-master-api origin-master-controllers
191+
----
192+
endif::[]
193+
ifdef::openshift-enterprise[]
194+
----
195+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
196+
----
186197
endif::[]
187198

188199
ifdef::openshift-dedicated,openshift-online[]

admin_solutions/master_node_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ oauthConfig:
273273
. Restart the master for the changes to take effect:
274274
+
275275
----
276-
$ systemctl restart atomic-openshift-master
276+
$ systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
277277
----
278278

279279
You have now manually modified the master and node configuration files,

admin_solutions/user_role_mgmt.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ admissionConfig:
197197
+
198198
[source, bash]
199199
----
200-
$ systemctl restart atomic-openshift-master
200+
$ systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
201201
----
202202

203203
[NOTE]
@@ -528,13 +528,13 @@ Restart the {product-title} master for the change to take effect:
528528
ifdef::openshift-origin[]
529529
[source, bash]
530530
----
531-
# systemctl restart origin-master
531+
# systemctl restart origin-master-api origin-master-controllers
532532
----
533533
endif::[]
534534
ifdef::openshift-enterprise[]
535535
[source, bash]
536536
----
537-
# systemctl restart atomic-openshift-master
537+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
538538
----
539539
endif::[]
540540

architecture/core_concepts/pods_and_services.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ ensuring that traffic arrives at a node with this IP.
371371
The externalIPs must be selected by the cluster adminitrators from the
372372
*ExternalIPNetworkCIDRs* range configured in
373373
xref:../../admin_guide/tcp_ingress_external_ports.adoc#unique-external-ips-ingress-traffic-configure-cluster[*_master-config.yaml_*]
374-
file. When *_master-config.yaml_* is changed, the master service must be
374+
file. When *_master-config.yaml_* is changed, the master services must be
375375
restarted.
376376

377377
.Sample ExternalIPNetworkCIDR /etc/origin/master/master-config.yaml
@@ -456,7 +456,7 @@ Setting the service `type=NodePort` will allocate a port from a flag-configured
456456

457457
The selected port will be reported in the service configuration, under `spec.ports[*].nodePort`.
458458

459-
To specify a custom port just place the port number in the nodePort field. The custom port number must be in the configured range for nodePorts. When '*master-config.yaml*' is changed the master service must be restarted.
459+
To specify a custom port just place the port number in the nodePort field. The custom port number must be in the configured range for nodePorts. When '*master-config.yaml*' is changed the master services must be restarted.
460460

461461
.Sample servicesNodePortRange /etc/origin/master/master-config.yaml
462462
====

contributing_to_docs/doc_guidelines.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ $$*software package*$$
693693
694694
a|*cluster-admin* user
695695
696-
*atomic-openshift-master* service
696+
*atomic-openshift-master-api* service
697697
698698
*HTTPD*
699699

dev_guide/expose_service/expose_internal_ip_service.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ networkConfig:
112112
+
113113
ifdef::openshift-enterprise[]
114114
----
115-
# systemctl restart atomic-openshift-master
115+
# systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
116116
----
117117
endif::[]
118118
ifdef::openshift-origin[]
119119
----
120-
# systemctl restart origin-master
120+
# systemctl restart origin-master-api origin-master-controllers
121121
----
122122
endif::[]
123123

@@ -214,7 +214,7 @@ For example:
214214
curl 172.30.131.89:3306
215215
----
216216
+
217-
The examples in this section use a MySQL service, which requires a client application. If you get a string of characters with the `Got packets out of order` message,
217+
The examples in this section use a MySQL service, which requires a client application. If you get a string of characters with the `Got packets out of order` message,
218218
you are connected to the service.
219219
+
220220
If you have a MySQL client, log in with the standard CLI command:
@@ -280,7 +280,7 @@ For example:
280280
curl 192.168.120.10:3306
281281
----
282282
+
283-
If you get a string of characters with the `Got packets out of order` message,
283+
If you get a string of characters with the `Got packets out of order` message,
284284
you are connected to the service.
285285
+
286286
If you have a MySQL client, log in with the standard CLI command:
@@ -422,7 +422,7 @@ For example:
422422
curl 192.168.120.10:3306
423423
----
424424
+
425-
If you get a string of characters with the `Got packets out of order` message,
425+
If you get a string of characters with the `Got packets out of order` message,
426426
your service is accessible from the node.
427427

428428
*On the system that is not in the cluster:*

dev_guide/managing_images.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ running the registry import controller (typically the master node).
10021002

10031003
The certificate or CA certificate must be added to `/etc/pki/tls/certs` or `/etc/pki/ca-trust`,
10041004
respectively, on the host system. The `update-ca-trust` command will also need to be
1005-
run on Red Hat distributions followed by a restart of the master service to pick up
1005+
run on Red Hat distributions followed by a restart of the master services to pick up
10061006
the certificate changes.
10071007

10081008

0 commit comments

Comments
 (0)