> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kubex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Container Summary

export const InlineImageWithText = ({src, href, children, width = 80, caption}) => {
  return <span className="inline-flex items-center gap-3 align-middle">
            <a href={href} className="inline-block border-b-0">
                <Frame caption={caption}>
                    <img src={src} alt="" className="object-contain align-middle " width={width} style={{
    minWidth: width
  }} />
                </Frame>
            </a>
            <span className="align-middle">{children}</span>
        </span>;
};

This tab provides a simplified landing page that allows you to quickly understand the optimization potential in your Kubernetes environments.

The charts provide a clear breakdown of how optimization recommendations can provide immediate savings, the impact of taking those recommendations to reduce risk in your environment, and what additional waste can be safely removed once you have eliminated the identified risks.

The content on this tab is based on your selection in the tree viewer.

<Frame caption="Figure: Locating the Summary Tab">
  <img src="https://mintcdn.com/densify/2yB5CeopMETTG0GR/images/docs-kubex/k8s_summary.png?fit=max&auto=format&n=2yB5CeopMETTG0GR&q=85&s=d4c47e3a271a356472cc860398441338" alt="" width="1210" height="664" data-path="images/docs-kubex/k8s_summary.png" />
</Frame>

When a single container is selected you will see the [Overview](/docs-kubex/Content/Kubex/Overview_Tab) and [Metrics Viewer](/docs-kubex/Content/Kubex/Metrics_Viewer_Tab) tabs.

## Current Monthly Spend

This first chart summarizes your current spend and breaks down CPU, Memory & GPU spend. A hyperlinked value of "manifests"takes you to the [Analysis Details](/docs-kubex/Content/Kubex/AI_Analysis_Details_Table) tab with same scope of systems selected.

<Frame caption="Figure: Overall Monthly Spend">
  <img src="https://mintcdn.com/densify/B7du1eVBtVI-5Vg7/images/docs-kubex/k8s_monthlyspend.png?fit=max&auto=format&n=B7du1eVBtVI-5Vg7&q=85&s=0d182a29b841b6f9a50d90c5b29589f8" alt="" width="1440" height="386" data-path="images/docs-kubex/k8s_monthlyspend.png" />
</Frame>

### Unit Costs

The default unit monthly cost of a vCPU, a GB of Memory, and GPUs are shown here. These values are used for all cost calculations. The values are configurable.

## Monthly Waste

This block shows you wasted resources as a dollar amount broken down by CPU and memory requests. These histogram charts show your data grouped as a distribution. The scope of data, is defined by the tree viewer. The link on the right side of each chart takes you to the [histogram](/docs-kubex/Content/Kubex/Histograms_Tab) page, with same scope of systems selected.

<Frame caption="Figure: Monthly Waste">
  <img src="https://mintcdn.com/densify/B7du1eVBtVI-5Vg7/images/docs-kubex/k8s_monthlywaste.png?fit=max&auto=format&n=B7du1eVBtVI-5Vg7&q=85&s=1b52d8804fb16f1462f8761b376338ac" alt="" width="1438" height="426" data-path="images/docs-kubex/k8s_monthlywaste.png" />
</Frame>

## GPU Summary

Your GPU spend and allocation are summarized on this card.

<Frame caption="Figure: GPU Summary">
  <img src="https://mintcdn.com/densify/6ygocFJNLIodQIfN/images/docs-kubex/k8s_summarypage_gpu.png?fit=max&auto=format&n=6ygocFJNLIodQIfN&q=85&s=e999360e8faa404898b7094ee20fc534" alt="" width="1439" height="386" data-path="images/docs-kubex/k8s_summarypage_gpu.png" />
</Frame>

Click the "view details" hyperlink in the note shown at the bottom of the image to view GPU pricing details. This table provides visibility into how the cost is calculated. The cost per GPU might change greatly depending on the model, so this table provides the model details.

<Frame caption="Figure: GPU Unit Pricing">
  <img src="https://mintcdn.com/densify/B7du1eVBtVI-5Vg7/images/docs-kubex/k8s_gpu_lookup_table.png?fit=max&auto=format&n=B7du1eVBtVI-5Vg7&q=85&s=753c5a1a3d46c7d98de13ad199c70f82" alt="" width="1073" height="415" data-path="images/docs-kubex/k8s_gpu_lookup_table.png" />
</Frame>

If the GPU model and/or GPU unit cost are unknown, a default GPU unit cost of \$1.4K/month is used for the calculations. This value is configurable. Contact [support@kubex.ai](mailto:support@kubex.ai) for details.

## Optimization Breakdown

This bar chart shows the breakdown of your container spending: 

<Frame caption="Figure: Optimization Breakdown">
  <img src="https://mintcdn.com/densify/It6BkcRegrIhp2zo/images/docs-kubex/Content/Kubex/03000155_618x393.png?fit=max&auto=format&n=It6BkcRegrIhp2zo&q=85&s=2bc5b68e221f7982ca080a0622557d8c" alt="" width="618" height="393" data-path="images/docs-kubex/Content/Kubex/03000155_618x393.png" />
</Frame>

Hover over any of the bars to see a description of the recommended optimization.

<Accordion title="Table: Optimization Breakdown Table">
  <table>
    <thead>
      <tr>
        <th>
          Column
        </th>

        <th>
          Description
        </th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          Current Spend
        </td>

        <td>
          The bar shows you what you are currently spending on the infrastructure that has been selected in the tree viewer.<br />
          This value includes containers with unspecified CPU and/or memory request. See <a href="#unspecified">Containers with Unspecified Settings</a> for details.
        </td>
      </tr>

      <tr>
        <td>
          Immediate Savings
        </td>

        <td>
          Immediate savings can be achieved by adjusting the requested settings for containers within Node Groups where CPU or memory requests are the primary constraint. Adjusting these settings does not impact workload performance.
          A container qualifies for immediate savings if the "% of Nodes with CPU Saturation" is below a predefined threshold. For example, if the threshold is set at 50%, only containers where "% of Nodes with CPU Saturation" is less than 50% should be considered.<br />
          Immediate savings can be achieved by adjusting the Memory Request settings only for containers within Node Groups where Memory Request" is the primary constraint.
          Calculated as: Sum of immediate CPU savings + Sum of immediate memory savings
        </td>
      </tr>

      <tr>
        <td>
          Risk Removal
        </td>

        <td>
          The incurred cost to reduce or eliminate resourcing shortfalls that may be causing application restarts, CPU throttling or memory events, including OOM kills.
          CPU and memory shortfalls are aggregated for all containers in the selected scope and used to determine this value.<br />
          Calculated as: Sum(Shortfall CPU\<0 (in mcores))/1000 mcores/core \*CPU unit cost/core +  Sum(Shortfall memory \<0 (in MB))/1024 MB/GB \*Memory unit cost/GB
        </td>
      </tr>

      <tr>
        <td>
          Additional Waste
        </td>

        <td>
          These are possible, additional savings that can be achieved, after implementing the Risk Removal recommendations.<br />
          Calculated as (\$Total Cost + Risk Removal - Immediate Savings - Optimal Cost).
        </td>
      </tr>

      <tr>
        <td>
          Optimal Spend
        </td>

        <td>
          This is the projected monthly spend if all of the recommendations are made.<br />
          Calculated as ($Total Cost - $Total Estimated Waste).
        </td>
      </tr>
    </tbody>
  </table>
</Accordion>

#### Video Resources

<AccordionGroup>
  <Accordion title="Kubex UI Overview">
    <iframe frameborder="0" height="310" src="https://player.vimeo.com/video/1052046936?badge=0&autopause=0&player_id=0&app_id=58479" width="550" />

    <a href="https://player.vimeo.com/video/1052046936?badge=0&autopause=0&player_id=0&app_id=58479" target="_blank">Kubex UI Overview</a>
  </Accordion>

  <Accordion title="Using the Tree Viewer">
    <iframe frameborder="0" height="310" src="https://player.vimeo.com/video/1038945637?title=0&byline=0&portrait=0&badge=0&autopause=0&player_id=0&app_id=58479" width="550" />

    <a href="https://player.vimeo.com/video/1038945637?title=0&byline=0&portrait=0&badge=0&autopause=0&player_id=0&app_id=58479" target="_blank">Using the Tree Viewer</a>
  </Accordion>
</AccordionGroup>
