Pod ignores drain node command and still on the running state

Solution Verified - Updated -

Issue

  • When draining nodes which run database pods, the database pods are not terminated, even after the grace period has set:

    oc adm drain mynode.example.com --grace-period=420 --force --delete-local-data --ignore-daemonsets
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.6+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In