Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-32928

Create k8s backstage plugin

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No

      1.  Query app-interface via graphql to get the namespaces and cluster the app is on

      Note: We already do this in visual-qontract so this would be a matter of researching and smart re-use

      2. Get API access to the clusters in question (consoledot stage and prod) with tokens. Get the tokens in vault and get them added to the combined secret.

      3. Create a backstage proxy to query the kubernetes API for the clusters while passing the auth token 

      4. Query the kubernetes API using the namespaces and clusters returned in the graphql query

      5. List all of the deployments and the following information about them:

      • Currently deployed image tag
      • CPU and Memory usage vs requests and limits
      • Last deployment time
      • Deployment status

      Note: It's been validated that the APIs to return all that stuff are super easy to find and readily accessible

      6. Ensure that the UI provides links out to the cluster, namespace, and deployment so people can see more

      Definition of done is:

      • A dynmaic plugin
      • Works in RHDH
      • Can display information for both stage and prod
      • Toggle button to switch between stage and prod
      • Gets information about clusters and namespaces from graphql
      • Shows the following for all deployments in the namespace for the app
      • Currently deployed image tag
        • CPU and Memory usage vs requests and limits
        • Last deployment time
        • Deployment status
        • Links out to resources on cluster
      • Follows our visual styling conventions (use of InfoCard, Typography, button variant Typography for heading, alternating rows in tables, column-wise presentation, according to reveal long form info if required (see visual-qontract)
      • README that explains all config required to use as dynmaic plugin, proxy, etc
      • build script
      • Published release on github
      • Tested and confirmed working in RHDH

       

              mknop-console-dot Matt Knop
              rhn-support-bturner Benjamin Turner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: