openshift ReplicaFailure "pods "XXX" is forbidden: cpu max limit request ratio per Container is 40, but provided ratio is 160" when trying to create a pod
I tried to change resources but with this deployment resources change does nothing, and even the provided ratio doesnt change (I tried in another deployments and it does make a change). I also tried to delete all replica sets, and it didnt help...
deployment:
spec:
template:
spec:
containers:
- name: example
resources:
limits:
cpu: '1'
memory: 2Gi
requests:
cpu: '1'
memory: 2Gi
limitrange:
spec:
limits:
- type: Container
min:
cpu: 25m
memory: 200M
default:
cpu: 100m
memory: 200M
defaultRequest:
cpu: 100m
memory: 200M
maxLimitRequestRatio:
cpu: '40'
memory: '29'