k8s_cluster_cpu
millicores
The CPUs in the cluster
k8s_cluster_cpu_available
millicores
The CPUs available for additional pods in the cluster
k8s_cluster_cpu_util
percent
The percentage of used CPUs in the cluster
k8s_cluster_cpu_request
millicores
The total CPUs requested in the cluster
k8s_cluster_memory
bytes
The overall memory in the cluster
k8s_cluster_memory_available
bytes
The amount of memory available for additional pods in the cluster
k8s_cluster_memory_util
percent
The percentage of used memory in the cluster
k8s_cluster_memory_request
bytes
The total memory requested in the cluster
k8s_cluster_nodes
nodes
The number of nodes in the cluster
k8s_pod_cpu_used
millicores
The CPUs used by the pod
k8s_pod_cpu_throttle_time
percent
The percentage of time the CPU has been throttled
k8s_pod_cpu_request
millicores
The CPUs requested for the pod
k8s_pod_cpu_limit
millicores
The CPUs allowed for the pod
k8s_pod_cpu_util
percent
Percentage of CPUs used with respect to the limit
k8s_pod_memory_util
percent
The percentage of memory used with respect to the limit. Memory used includes all types of memory, including file system cache
k8s_pod_memory_util_nocache
percent
The percentage of working set memory used with respect to the limit
k8s_pod_memory_used
bytes
The total amount of memory used by the pod. Memory used includes all types of memory, including file system cache
k8s_pod_memory_request
bytes
The memory requested for the pod
k8s_pod_memory_limit
bytes
The memory limit for the pod
k8s_pod_memory_working_set
bytes
Current working set in bytes
k8s_pod_memory_limit_hits
hits/s
The number of times per second the used memory hit the limit
k8s_pod_container_restarts
events
The number of pod restarts for a container (Labels: container)
k8s_pod_desired_containers
containers
The number of desired c
k8s_namespace_cpu_limit
millicores
The CPU limit for the namespace
k8s_namespace_cpu_request
millicores
The CPUs requested for the namespace
k8s_namespace_memory_limit
bytes
The memory limit for the namespace
k8s_namespace_memory_request
bytes
Memory requested for the namespace
k8s_namespace_running_pods
pdds
The number of running pods in the namespace
The Kubernetes optimization pack allows optimizing containerized applications running on a Kubernetes cluster. Through this optimization pack, Akamas is able to tackle the problem of distributing resources to containerized applications in order to minimize waste and ensure the quality of service.
To achieve these goals the optimization pack provides parameters that focus on the following areas:
Memory allocation
CPU allocation
Number of replicas
Similarly, the bundled metrics provide visibility on the following aspects of tuned applications:
Memory utilization
CPU utilization
The component types provided in this optimization pack allow modeling the entities found in a Kubernetes-based application, optimizing their parameters, and monitoring the key performance metrics.
Component Type | Description |
---|---|
Here’s the command to install the Kubernetes optimization pack optimization-pack using the Akamas CLI:
Kubernetes Container
Kubernetes Pod
Kubernetes Workload
Kubernetes Namespace
Kubernetes Cluster
k8s_workload_desired_pods | pods | Number of desired pods per workload |
k8s_workload_pods | pods | Pods per workload and phase |
k8s_workload_running_pods | pods | The number of running pods per workload |
k8s_workload_cpu_used | millicores | The total amount of CPUs used by the entire workload |
k8s_workload_memory_used | bytes | The total amount of memory used by the entire workload |
k8s_workload_replicas | integer | pods |
|
| yes | Number of desired pods in the deployment |
Parameter | Type | Unit | Default | Domain | Restart | Description |
---|---|---|---|---|---|---|
Formula | Notes |
---|---|
container_cpu_used
millicores
The CPUs used by the container
container_cpu_throttle_time
percent
The amount of time the CPU has been throttled
container_cpu_request
millicores
The CPUs requested for the container
container_cpu_throttled_millicores
millicores
The CPUs throttling per container in millicores
container_cpu_limit
millicores
The CPUs allowed for the container
container_cpu_util
percent
The percentage of CPUs used with respect to the limit
container_memory_util
percent
The percentage of memory used with respect to the limit. Memory used includes all types of memory, including file system cache
container_memory_util_nocache
percent
The percentage of working set memory used with respect to the limit
container_memory_used
bytes
The total amount of memory used by the container. Memory used includes all types of memory, including file system cache
container_memory_request
bytes
The memory requested for the container
container_memory_limit
bytes
The memory limit for the container
container_memory_working_set
bytes
The current working set in bytes
container_memory_limit_hits
hits/s
The number of times per second the used memory hit the limit
container_memory_limit_util
percent
Percent memory limit per container relative to total physical memory of the host.
container_host_memory_total
bytes
Total physical memory on the host.
cpu_request
integer
millicores
You should select your own default value.
You should select your own domain.
yes
Amount of CPU resources requests in CPU units (milllicores)
cpu_limit
integer
millicores
You should select your own default value.
You should select your own domain.
yes
Limits on the amount of CPU resources usage in CPU units (millicores)
memory_request
integer
megabytes
You should select your own default value.
You should select your own domain.
yes
Amount of memory resources requests in megabytes
memory_limit
integer
megabytes
You should select your own default value.
You should select your own domain.
yes
Limits on the amount of memory resources usage in megabytes
component_name.cpu_request <= component_name.cpu_limit
component_name.memory_request <= component_name.memory_limit