I created Limits for the pods on kubernetes api server like this
apiVersion: v1
kind: LimitRange
metadata:
name: limits
spec:
limits:
- default:
cpu: 100m
memory: 512Mi
max:
memory: 1024Mi
type: pod
If I understand correctly,kubernetes would reject pod if the pod is exceeding user defined limits resource when the pod is created. so, I try to create a new pod which passed resource limits, then I try to consume resources reaching to the maximum limits resource, but it doesn't have any affected to the pod. Are the LimitsRanger and ResourceQuota plugin cover on this case or not if not how can I limit resource pods after it's already created?