OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
이 콘텐츠는 선택한 언어로 제공되지 않습니다.
6.3. Upgrading the client on Red Hat Openshift Container Platform Nodes
Execute the following commands on each of the nodes:
- To drain the pod, execute the following command on the master node (or any node with cluster-admin access):
oc adm drain <node_name> --ignore-daemonsets
# oc adm drain <node_name> --ignore-daemonsetsCopy to Clipboard Copied! Toggle word wrap Toggle overflow - To check if all the pods are drained, execute the following command on the master node (or any node with cluster-admin access) :
oc get pods --all-namespaces --field-selector=spec.nodeName=<node_name>
# oc get pods --all-namespaces --field-selector=spec.nodeName=<node_name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the command on the node to upgrade the client on the node to glusterfs-fuse-3.12.2-32.el7.x86_64 version:
yum install glusterfs-client
# yum install glusterfs-clientCopy to Clipboard Copied! Toggle word wrap Toggle overflow - To enable node for pod scheduling execute the following command on the master node (or any node with cluster-admin access):
oc adm manage-node --schedulable=true <node_name>
# oc adm manage-node --schedulable=true <node_name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create and add the following content to the multipath.conf file:
Note
Make sure that the changes to multipath.conf and reloading of multipathd are done only after all the server nodes are upgraded.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following commands to start multipath daemon and [re]load the multipath configuration:
systemctl start multipathd
# systemctl start multipathdCopy to Clipboard Copied! Toggle word wrap Toggle overflow systemctl reload multipathd
# systemctl reload multipathdCopy to Clipboard Copied! Toggle word wrap Toggle overflow