Documentation ¶
Index ¶
Constants ¶
View Source
const ( CalicoCriticalResourceQuotaName = "calico-critical-pods" TigeraCriticalResourceQuotaName = "tigera-critical-pods" )
Variables ¶
This section is empty.
Functions ¶
func ResourceQuotaForPriorityClassScope ¶
func ResourceQuotaForPriorityClassScope(name, namespace string, priorityClasses []string) *corev1.ResourceQuota
ResourceQuotaForPriorityClassScope creates a ResourceQuota in a specified namespace and selects the priority classes provides. This allows pods with the specified pods to be scheduled This doesn't guarantee that a pod will be scheduled as Kubernetes will also check to ensure that other resource quota constraints in the namespace are satisfied.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.