List container recommendations with additional details
Returns recommendation details for container manifests in the specified cluster with additional fields. This endpoint includes all base fields plus: predictedUptime, configLastChangedOn, nodeGroup, oomKills_last7days, dateFirstAudited, and dateLastAudited. Fields with no value may be omitted from the response.
Overview
This endpoint returns container recommendation details for a specific cluster with additional fields whendetails=true is included.
For the base response format without additional details, see getKubernetesClusterContainers.
Additional Fields with details=true
When you includedetails=true in the query parameters, the following additional fields are included in each container recommendation:
Additional Fields Reference
Additional Fields Reference
| Field | Type | Description |
|---|---|---|
predictedUptime | number (float) | Predicted uptime percentage for the container |
configLastChangedOn | string (date-time) | Timestamp of the most recent change to requests/limits |
nodeGroup | array of strings | Names of associated node groups |
oomKills_last7days | integer | Number of OOM (Out Of Memory) events in the last 7 days |
dateFirstAudited | string (date-time) | When this container was first audited (from workload history) |
dateLastAudited | string (date-time) | When this container was last audited (from workload history) |
Example Request
Example Response
Use Cases
The detailed fields are particularly useful for:- Stability Monitoring:
oomKills_last7dayshelps identify containers experiencing memory pressure - Change Tracking:
configLastChangedOnshows when resource configurations were last modified - Historical Analysis:
dateFirstAuditedanddateLastAuditedprovide audit timeline context - Infrastructure Planning:
nodeGroupinformation helps with placement and scaling decisions - Reliability Metrics:
predictedUptimeaids in understanding container availability patterns
YYYY-MM-DDTHH:mm:ssZ).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
Must be set to true to get additional fields
true Response
Array of container recommendations with additional details
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).
Predicted uptime percentage for the container.
Timestamp of the most recent change to requests/limits.
Names of associated node groups.
Number of OOM events in the last 7 days.
When this container was first audited (from workload history).
When this container was last audited (from workload history).

