List container recommendations for a cluster
Returns recommendation details for container manifests in the specified cluster. This endpoint returns the base set of fields. For additional details including uptime predictions, OOM kill counts, and audit history, use the detailed endpoint with details=true. Fields with no value may be omitted from the response.
Overview
This endpoint returns container recommendation details for a specific cluster. This is the base response format without additional details. For extended information including uptime predictions, OOM kill counts, node group associations, and audit history, use the detailed endpoint withdetails=true. See getKubernetesClusterContainersDetailed for more information.
Example Request
Example Response
YYYY-MM-DDTHH:mm:ssZ).Need More Details?
If you need additional fields such as:- Predicted uptime percentage
- Configuration change history
- Node group associations
- OOM kill events
- Audit timeline information
?details=true to your request.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.
Response
Array of container recommendations (base fields)
- 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).

