# Kubernetes Workload

This page describes the Optimization Pack for the Kubernetes Workload component type.

## Metrics

<table><thead><tr><th>Name</th><th width="122.33333333333334">Unit</th><th>Description</th></tr></thead><tbody><tr><td>k8s_workload_desired_pods</td><td>pods</td><td>Number of desired pods per workload</td></tr><tr><td>k8s_workload_pods</td><td>pods</td><td>Pods per workload and phase</td></tr><tr><td>k8s_workload_running_pods</td><td>pods</td><td>The number of running pods per workload</td></tr><tr><td>k8s_workload_cpu_used</td><td>millicores</td><td>The total amount of CPUs used by the entire workload</td></tr><tr><td>k8s_workload_memory_used</td><td>bytes</td><td>The total amount of memory used by the entire workload</td></tr></tbody></table>

## Parameters

<table><thead><tr><th width="160">Name</th><th>Unit</th><th>Type</th><th>Default Value</th><th>Domain</th><th width="100">Restart</th><th>Description</th></tr></thead><tbody><tr><td>k8s_workload_replicas</td><td>integer</td><td>pods</td><td><code>1</code></td><td><code>0</code> → <code>1024</code></td><td>yes</td><td>Number of desired pods in the deployment</td></tr></tbody></table>
