Hi John,
Go to each node (masters and workers) and run the following commands to stop core services:
systemctl stop kubelet
systemctl stop docker
systemctl stop glusterd
Restart the system and after restart the services should come up automatically but to verify issue following commands
`mount -a ` to make sure all the filesystems are mounted back.
systemctl status kubelet
systemctl status docker
systemctl status glusterd
Allow atleast 30-40 minutes for pods to be in ready state before kubectl commands start working.
If you are looking to restart just one Node, you should follow standard Kubernetes procedure of draining the node and then restarting.
https://www.ibm.com/support/knowledgecenter/en/SSBS6K_3.1.2/manage_cluster/node_maintenance.htmlThanks
Sachin
------------------------------
SACHIN PRASAD
------------------------------
Original Message:
Sent: Thu May 16, 2019 11:40 PM
From: John Longo
Subject: Does anyone have a script to properly shutdown a icp4d cluster
Does anyone have a script to properly shutdown a icp4d cluster
------------------------------
John Longo
------------------------------
#CloudPakforDataGroup