January 2019
Intermediate to advanced
484 pages
11h 48m
English
We could also specify default resource requests and limits for a namespace. The default setting will be used if we don't specify the requests and limits during pod creation. The trick is using a LimitRange object, which contains a set of defaultRequest (requests) and default (limits).
The following is the example that can be found at chapter8/8-3_management/limit_range.yml:
apiVersion: v1kind: LimitRangemetadata: name: limitcage-container namespace: team-capybaraspec: limits: ...
Read now
Unlock full access