OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
Ce contenu n'est pas disponible dans la langue sélectionnée.
7.4. 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-daemonsets
Copy 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:
yum update glusterfs-client
# yum update glusterfs-client
Copy 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 multipathd
Copy to Clipboard Copied! Toggle word wrap Toggle overflow systemctl reload multipathd
# systemctl reload multipathd
Copy to Clipboard Copied! Toggle word wrap Toggle overflow