7 Across all pods in a non-terminal state, the sum of ephemeral storage limits cannot exceed 4Gi. 

## besteffort.yaml 

apiVersion: v1 kind: ResourceQuota metadata: name: besteffort spec: hard: pods: "1" 1 scopes: - BestEffort 2 

1 The total number of pods in a non-terminal state with BestEffort  quality of service that can exist in the project. 

2 Restricts the quota to only matching pods that have BestEffort  quality of service for either memory or CPU. 

## compute-resources-long-running.yaml 

apiVersion: v1 kind: ResourceQuota metadata: name: compute-resources-long-running spec: hard: pods: "4" 1 limits.cpu: "4" 2 limits.memory: "2Gi" 3 limits.ephemeral-storage: "4Gi" 4 scopes: - NotTerminating 5 

1 The total number of pods in a non-terminal state. 

2 Across all pods in a non-terminal state, the sum of CPU limits cannot exceed this value. 

3 Across all pods in a non-terminal state, the sum of memory limits cannot exceed this value. 

4 Across all pods in a non-terminal state, the sum of ephemeral storage limits cannot exceed this value. 

5 Restricts the quota to only matching pods where spec.activeDeadlineSeconds  is set to nil . Build pods will fall under NotTerminating  unless the RestartNever  policy is applied. 

## compute-resources-time-bound.yaml 

apiVersion: v1 kind: ResourceQuota 

