Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-3473

Provide command to prune evicted Pods

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • oc
    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

      1. Proposed title of this feature request

      Provide command to prune evicted Pods

      2. What is the nature and description of the request?

      Due to operational reasons, Pods may get evicted from Worker Nodes when there is an issue or there is certain maintenance.
      As a result, developers will see that some of their Pods show the status "Evicted", which may confuse them as it is not something that developers can influence.

      This request asks for an "oc" command to prune evicted Pods so administrators can easily remove the evicted Pods after maintenance or after issues with Worker Nodes.
      The proposed command would be "oc adm prune evicted".

      Currently, administrators need to run a longer command (outlined in https://access.redhat.com/solutions/3521071) to remove evicted Pods.

      3. Why does the customer need this? (List the business requirements here)

      After operational issues on the cluster, there may be evicted Pods in a cluster. Development teams are not used to seeing "Evicted" Pods in their projects and may approach cluster administration teams with questions. Having an easy option to prune evicted Pods allows administrators to quickly remove these Pods before questions can be raised by development teams.

      4. List any affected packages or components.

      "oc"

            gausingh@redhat.com Gaurav Singh
            rhn-support-skrenger Simon Krenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: