When I launch a pod with the following limits/request:
resources:
limits:
cpu: "3500m"
memory: "8192Mi"
ephemeral-storage: "5Gi"
requests:
cpu: "500m"
memory: "512Mi"
ephemeral-storage: "2Gi"
Autopilot modifies the resources limits and set them equals to the request ones:
autopilot.gke.io/resource-adjustment: {"input":{"containers":[{"limits":{"cpu":"3500m","ephemeral-storage":"5Gi","memory":"8Gi"},"requests":{"cpu":"500m","ephemeral-storage":"2Gi","memory":"512Mi"},"name":"prueba-init-container"}]},"output":{"containers":[{"limits":{"cpu":"500m","ephemeral-storage":"2Gi","memory":"512Mi"},"requests":{"cpu":"500m","ephemeral-storage":"2Gi","memory":"512Mi"},"name":"prueba-init-container"}]},"modified":true} seccomp.security.alpha.kubernetes.io/pod: runtime/default