Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2360

Run Pod in Debug mode

XMLWordPrintable

    • HAC Infra - Sprint 213

      As a user, I want the ability to run a pod in debug mode.

      This should be the equivalent of running:  oc debug pod

      Acceptance Criteria for MVP

      • Build off of the crash-loop back off popover from https://github.com/openshift/console/pull/7302 to include a description of what crash-loop back off is, a link to view logs, a link to view events and a link to debug (container-name) in terminal. If more than one container is crash-looping list them individually.
      • Create a debug container page that includes breadcrumbs as well as the terminal to debug. Add an informational alert at the top to make it clear that this is a temporary Pod and closing this page will delete the temporary pod.
      • Add debug in terminal as an action to the logs tool bar. Only enable the action when the crash-loop back off status occurs for the selected container. Add a tool tip to explain when the action is disabled.

      Assets
      Designs (WIP): https://docs.google.com/document/d/1b2n9Ox4xDNJ6AkVsQkXc5HyG8DXJIzU8tF6IsJCiowo/edit#

        1. 09_debugging_01.png
          168 kB
          Megan Hall
        2. DebugPage.png
          121 kB
          Megan Hall
        3. PodLogsPage.png
          264 kB
          Megan Hall
        4. PodsDetailPage.png
          336 kB
          Megan Hall
        5. PodsListPage.png
          144 kB
          Megan Hall

            zherman Zac Herman
            amobrem Ali Mobrem
            Robb Hamilton, Samuel Padgett
            Robb Hamilton, Samuel Padgett
            Xiyun Zhao Xiyun Zhao
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: