/2       Running     0          11h       172.16.45.42   infra03.ocp3.local     <none>
openshift-monitoring       node-exporter-99h4f                            2/2       Running     0          11h       172.16.45.41   infra02.ocp3.local     <none>
openshift-monitoring       node-exporter-9jprb                            2/2       Running     0          11h       172.16.45.21   master02.ocp3.local    <none>
openshift-monitoring       node-exporter-cwb4p                            2/2       Running     0          11h       172.16.45.51   logging02.ocp3.local   <none>
openshift-monitoring       node-exporter-ffmqx                            2/2       Running     0          11h       172.16.45.20   master01.ocp3.local    <none>
openshift-monitoring       node-exporter-jj8hw                            2/2       Running     0          11h       172.16.45.62   worker03.ocp3.local    <none>
openshift-monitoring       node-exporter-kftw5                            2/2       Running     0          11h       172.16.45.22   master03.ocp3.local    <none>
openshift-monitoring       node-exporter-mp8kc                            2/2       Running     0          11h       172.16.45.31   router02.ocp3.local    <none>
openshift-monitoring       node-exporter-ql62l                            2/2       Running     0          11h       172.16.45.61   worker02.ocp3.local    <none>
openshift-monitoring       node-exporter-spglb                            2/2       Running     0          11h       172.16.45.40   infra01.ocp3.local     <none>
openshift-monitoring       node-exporter-vqnjh                            2/2       Running     0          11h       172.16.45.50   logging01.ocp3.local   <none>
openshift-monitoring       node-exporter-zs82p                            2/2       Running     0          11h       172.16.45.60   worker01.ocp3.local    <none>
openshift-monitoring       prometheus-k8s-0                               4/4       Running     1          2h        10.128.11.12   worker01.ocp3.local    <none>
openshift-monitoring       prometheus-k8s-1                               4/4       Running     1          2h        10.128.12.13   worker02.ocp3.local    <none>
openshift-monitoring       prometheus-operator-57548d4b75-422r7           1/1       Running     0          11h       10.128.13.8    worker03.ocp3.local    <none>
openshift-node             sync-2nkt7                                     1/1       Running     0          13h       172.16.45.20   master01.ocp3.local    <none>
openshift-node             sync-4vwcm                                     1/1       Running     0          13h       172.16.45.52   logging03.ocp3.local   <none>
openshift-node             sync-6279f                                     1/1       Running     0          13h       172.16.45.42   infra03.ocp3.local     <none>
openshift-node             sync-6vbn2                                     1/1       Running     0          13h       172.16.45.50   logging01.ocp3.local   <none>
openshift-node             sync-7zpj8                                     1/1       Running     0          13h       172.16.45.60   worker01.ocp3.local    <none>
openshift-node             sync-bm47j                                     1/1       Running     0          13h       172.16.45.62   worker03.ocp3.local    <none>
openshift-node             sync-gnlz8                                     1/1       Running     0          13h       172.16.45.31   router02.ocp3.local    <none>
openshift-node             sync-hrmxz                                     1/1       Running     0          13h       172.16.45.22   master03.ocp3.local    <none>
openshift-node             sync-k8nq9                                     1/1       Running     0          13h       172.16.45.21   master02.ocp3.local    <none>
openshift-node             sync-m768f                                     1/1       Running     0          13h       172.16.45.61   worker02.ocp3.local    <none>
openshift-node             sync-mstzd                                     1/1       Running     0          13h       172.16.45.41   infra02.ocp3.local     <none>
openshift-node             sync-n9wzg                                     1/1       Running     0          13h       172.16.45.51   logging02.ocp3.local   <none>
openshift-node             sync-sfgns                                     1/1       Running     0          13h       172.16.45.40   infra01.ocp3.local     <none>
openshift-node             sync-xz92j                                     1/1       Running     0          13h       172.16.45.30   router01.ocp3.local    <none>
openshift-sdn              ovs-24n89                                      1/1       Running     0          13h       172.16.45.21   master02.ocp3.local    <none>
openshift-sdn              ovs-4qjt8                                      1/1       Running     0          13h       172.16.45.31   router02.ocp3.local    <none>
openshift-sdn              ovs-62pqj                                      1/1       Running     0          13h       172.16.45.62   worker03.ocp3.local    <none>
openshift-sdn              ovs-62ssg                                      1/1       Running     0          13h       172.16.45.41   infra02.ocp3.local     <none>
openshift-sdn              ovs-6fqwt                                      1/1       Running     0          13h       172.16.45.42   infra03.ocp3.local     <none>
openshift-sdn              ovs-7f55g                                      1/1       Running     0          13h       172.16.45.40   infra01.ocp3.local     <none>
openshift-sdn              ovs-7jcjs                                      1/1       Running     0          13h       172.16.45.61   worker02.ocp3.local    <none>
openshift-sdn              ovs-7m4z5                                      1/1       Running     0          13h       172.16.45.30   router01.ocp3.local    <none>
openshift-sdn              ovs-d9hs5                                      1/1       Running     0          13h       172.16.45.51   logging02.ocp3.local   <none>
openshift-sdn              ovs-k9lhn                                      1/1       Running     0          13h       172.16.45.60   worker01.ocp3.local    <none>
openshift-sdn              ovs-nrd5r                                      1/1       Running     0          13h       172.16.45.50   logging01.ocp3.local   <none>
openshift-sdn              ovs-t8527                                      1/1       Running     0          13h       172.16.45.20   master01.ocp3.local    <none>
openshift-sdn              ovs-wlk2k                                      1/1       Running     0          13h       172.16.45.22   master03.ocp3.local    <none>
openshift-sdn              ovs-x5ftt                                      1/1       Running     0          13h       172.16.45.52   logging03.ocp3.local   <none>
openshift-sdn              sdn-2dkcv                                      1/1       Running     0          13h       172.16.45.52   logging03.ocp3.local   <none>
openshift-sdn              sdn-45fhn                                      1/1       Running     0          13h       172.16.45.20   master01.ocp3.local    <none>
openshift-sdn              sdn-78xwx                                      1/1       Running     0          13h       172.16.45.40   infra01.ocp3.local     <none>
openshift-sdn              sdn-7f26d                                      1/1       Running     0          13h       172.16.45.21   master02.ocp3.local    <none>
openshift-sdn              sdn-j2zmx                                      1/1       Running     0          13h       172.16.45.41   infra02.ocp3.local     <none>
openshift-sdn              sdn-k6mhw                                      1/1       Running     0          13h       172.16.45.22   master03.ocp3.local    <none>
openshift-sdn              sdn-k826k                                      1/1       Running     0          13h       172.16.45.62   worker03.ocp3.local    <none>
openshift-sdn              sdn-lhv8t                                      1/1       Running     0          13h       172.16.45.30   router01.ocp3.local    <none>
openshift-sdn              sdn-m89v8                                      1/1       Running     0          13h       172.16.45.31   router02.ocp3.local    <none>
openshift-sdn              sdn-mffs2                                      1/1       Running     0          13h       172.16.45.50   logging01.ocp3.local   <none>
openshift-sdn              sdn-rhs7f                                      1/1       Running     0          13h       172.16.45.60   worker01.ocp3.local    <none>
openshift-sdn              sdn-sb4fc                                      1/1       Running     0          13h       172.16.45.61   worker02.ocp3.local    <none>
openshift-sdn              sdn-szvb5                                      1/1       Running     0          13h       172.16.45.51   logging02.ocp3.local   <none>
openshift-sdn              sdn-vtvsd                                      1/1       Running     0          13h       172.16.45.42   infra03.ocp3.local     <none>
openshift-web-console      webconsole-55ccd559bb-27gtn                    1/1       Running     0          13h       10.128.0.8     master01.ocp3.local    <none>
openshift-web-console      webconsole-55ccd559bb-2jbng                    1/1       Running     0          13h       10.128.2.8     master03.ocp3.local    <none>
openshift-web-console      webconsole-55ccd559bb-4d97f                    1/1       Running     0          13h       10.128.1.7     master02.ocp3.local    <none>

2.9. 재부팅

 

모든 OpenShift 클러스터 노드를 재부팅하여 작업을 완료한다.

[root@bastion ~]# for node in $(oc get node -o name | cut -d '/' -f '2'); do
  ssh root@$node "systemctl reboot";
done

99. RefURL

 

[1]: RedHat Knowledge-Centered Support – How to restore etcd on OpenShift 3.11 with 2 etcd members in error state
[2]: RedHat Knowledge-Centered Support – How do I restore from an etcd backup in OpenShift 3.9 and older?
[3]: Gist – OpenShift v4.x – ETCD 백업 및 복구 방법
[4]: Gist – OpenShift v3.11 – 2022-03-28 이슈 정리