Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerFlex Appliance with PowerFlex 4.x Administration Guide

Prepare the management virtual machines for maintenance

Use this procedure to drain the management virtual machine to safely evict all of your pods before you perform maintenance on the management virtual machine.

Steps

  1. Log in to the primary management virtual machine.
  2. Type kubectl get nodes to list all of the nodes.
  3. Identify the node scheduled for maintenance from above, and type kubectl drain <node> --ignore-daemonsets --delete-emptydir-data to drain the node.
    The node will cordoned, which will mark the node as unschedulable and prevent the scheduler from placing new pods onto that node.
    NOTE:PowerFlex Manager could be inaccessible for five to ten minutes.
  4. Perform maintenance procedures.
  5. Type kubectl uncordon <node> to uncordon the node.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\