Documentation
¶
Overview ¶
resourcequota contains a controller that makes resource quota usage observations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterQuotaPods ¶ added in v0.13.0
func FilterQuotaPods(pods []api.Pod) []api.Pod
FilterQuotaPods eliminates pods that no longer have a cost against the quota pods that have a restart policy of always are always returned pods that are in a failed state, but have a restart policy of on failure are always returned pods that are not in a success state or a failure state are included in quota
Types ¶
type ResourceQuotaManager ¶
type ResourceQuotaManager struct {
// contains filtered or unexported fields
}
ResourceQuotaManager is responsible for tracking quota usage status in the system
func NewResourceQuotaManager ¶
func NewResourceQuotaManager(kubeClient client.Interface) *ResourceQuotaManager
NewResourceQuotaManager creates a new ResourceQuotaManager
Click to show internal directories.
Click to hide internal directories.