List container recommendations for a cluster
Returns recommendation details for container manifests in the specified cluster.
When details=true, additional fields are included. Fields with no value may be omitted from the response.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique cluster name from /kubernetes/clusters or the Kubex UI Connections tab.
Query Parameters
Include additional fields (predictedUptime, configLastChangedOn, nodeGroup, oomKills_last7days, dateFirstAudited, dateLastAudited).
Response
Array of container recommendations
- Option 1
- Option 2
Returns ContainerRecommendation by default, or ContainerRecommendationDetailed when details=true
Cluster name as specified in the config.yaml files.
Namespace associated with the container.
Name of the controller or pod owning the container.
Controller type (e.g., DaemonSet, Deployment, ReplicaSet, ReplicationController, StatefulSet).
Container manifest name.
Unique identifier for the selected cluster assigned by Kubex.
Unique identifier for the listed container.
Average number of containers from the "In Service Instances" metric.
Current CPU request (mCores).
Current CPU limit (mCores).
Current memory request (bytes).
Current memory limit (bytes).
Recommended CPU request (mCores).
Recommended CPU limit (mCores).
Recommended memory request (bytes).
Recommended memory limit (bytes).
Estimated savings per container when applying the recommendations.
Most recent analysis refresh (UTC, YYYY-MM-DDTHH:mm:ssZ).
HPA metric name (e.g., cpu, memory).
HPA metric threshold (e.g., 75%).
Current ephemeral storage request (bytes).
Current ephemeral storage limit (bytes).
Recommended ephemeral storage request (bytes).
Recommended ephemeral storage limit (bytes).
GPU-related recommendations and metrics (present for GPU workloads).

