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

Clean up after oc debug node

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • oc
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After executing

      $ oc debug node/<nodename>

      a temporary namespace is created and a debug pod is deployed into this namespace. Unfortunately, these pods and namespaces are not always cleaned up. Here is an example of debug pods left behind:

      $ oc get po -A | grep debug
      openshift-debug-2l6t8                              pbcppphosv006-pbc-xxxx-debug                                   0/1     Error              0                21d
      openshift-debug-mtl8j                              pbcppphosv011pbcnxxxx-debug-4dgbl                              0/1     Completed          0                30d
      openshift-debug-ptbpc                              pbcppphosv017pbcnxxxx-debug-dk8r6                              0/1     Completed          0                34d
      

              gausingh@redhat.com Gaurav Singh
              anosek@redhat.com Ales Nosek
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                None
                None