Given a Pod defining a container that runs a single-threaded application, and a CPU limit value of 1
:
apiVersion: v1
kind: Pod
metadata:
name: single-threaded-workload
spec:
containers:
- name: microservice
image: single-threaded-workload
resources:
limits:
cpu: "1"
requests:
cpu: 250m
Would the single-threaded application ever be CPU throttled?
Would increasing the CPU limit value to higher than 1
provide any performance benefit?
(This is assuming the container only has 1 active thread running)