Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one restart Openshift Origin master on Centos 7?

Openshift origin was installed via the ansible playbooks.

According to this documentation, the correct command to restart is:

$ systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers

However, this just results in:

Failed to restart atomic-openshift-master-api.service: Unit not found.
Failed to restart atomic-openshift-master-controllers.service: Unit not found.

What is the correct way to restart openshift origin (okd) after installing via ansible on Centos7?

like image 342
MirroredFate Avatar asked Dec 06 '22 11:12

MirroredFate


2 Answers

If you get the following error:

bash: master-restart: command not found

try:

/usr/local/bin/master-restart
like image 188
DReis Avatar answered Dec 28 '22 10:12

DReis


If you installed the OKD as v3.10, you should restart master services as follows. [0] The service is running as pod from v3.10, so you should use the specific command for restarting the master services, such as api and controllers

# master-restart api
# master-restart controllers

[0] RESTARTING MASTER SERVICES

like image 24
Daein Park Avatar answered Dec 28 '22 09:12

Daein Park