resourcequota

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL