-
resource id:
<namespace>/<controller_type>/<controller_name>/<container_name>
- why this form:
- use controller can trace the utilization of an application rather than a pod
- why this form:
-
resource categories
- common controllers: Deployment, StatefulSet, DaemonSet
- cron job (TODO)
- jobs run periodically
-
set different conditions for different envs to find qualified resources
-
test env
- cpu: 95 quantile < requests
- memory: max < requests
- duration: 1 week
- resource recommendation
- cpu minimum: 10m
- memory minimum: 10M
- resource score
score= (cpu_reserved + memory_reserved / (1024*1024*1024*2)) * replicas
- cpu weight is
1
, memory weight is1/(1024*1024*1024*2)
(refer to 1C/2G)
- cpu weight is