Skip to main content

Measures

Limitranges and Resourcesquotas

An example yaml looks like follow:

apiVersion: v1 
kind: ResourceQuota 
metadata: 
  name: logging 
  namespace: test 
spec: 
  hard: 
    persistentvolumeclaims: "1" 
    services.loadbalancers: "2" 
    services.nodeports: "0" 
    pods: "2" 
    services: "2" 
    replicationcontrollers: "10" 
    resourcequotas: "1" 
    secrets: "100" 
    configmaps: "1000" 
    limits.cpu: "100m" 
    limits.memory: "128Mi" 
    requests.cpu: "50m" 
    requests.memory: "56Mi" 

Included in the following risks