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

Run Pod in Debug mode

    XMLWordPrintable

Details

    • HAC Infra - Sprint 213

    Description

      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#

      Attachments

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

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: