mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Fix incomplete ResourceQuota comments
This commit is contained in:
parent
d3edcb7924
commit
8749336aa7
@ -4771,9 +4771,9 @@ type ResourceQuotaScope string
|
|||||||
|
|
||||||
// These are valid values for resource quota spec
|
// These are valid values for resource quota spec
|
||||||
const (
|
const (
|
||||||
// Match all pod objects where spec.activeDeadlineSeconds
|
// Match all pod objects where spec.activeDeadlineSeconds >=0
|
||||||
ResourceQuotaScopeTerminating ResourceQuotaScope = "Terminating"
|
ResourceQuotaScopeTerminating ResourceQuotaScope = "Terminating"
|
||||||
// Match all pod objects where !spec.activeDeadlineSeconds
|
// Match all pod objects where spec.activeDeadlineSeconds is nil
|
||||||
ResourceQuotaScopeNotTerminating ResourceQuotaScope = "NotTerminating"
|
ResourceQuotaScopeNotTerminating ResourceQuotaScope = "NotTerminating"
|
||||||
// Match all pod objects that have best effort quality of service
|
// Match all pod objects that have best effort quality of service
|
||||||
ResourceQuotaScopeBestEffort ResourceQuotaScope = "BestEffort"
|
ResourceQuotaScopeBestEffort ResourceQuotaScope = "BestEffort"
|
||||||
|
@ -5491,9 +5491,9 @@ const (
|
|||||||
type ResourceQuotaScope string
|
type ResourceQuotaScope string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Match all pod objects where spec.activeDeadlineSeconds
|
// Match all pod objects where spec.activeDeadlineSeconds >=0
|
||||||
ResourceQuotaScopeTerminating ResourceQuotaScope = "Terminating"
|
ResourceQuotaScopeTerminating ResourceQuotaScope = "Terminating"
|
||||||
// Match all pod objects where !spec.activeDeadlineSeconds
|
// Match all pod objects where spec.activeDeadlineSeconds is nil
|
||||||
ResourceQuotaScopeNotTerminating ResourceQuotaScope = "NotTerminating"
|
ResourceQuotaScopeNotTerminating ResourceQuotaScope = "NotTerminating"
|
||||||
// Match all pod objects that have best effort quality of service
|
// Match all pod objects that have best effort quality of service
|
||||||
ResourceQuotaScopeBestEffort ResourceQuotaScope = "BestEffort"
|
ResourceQuotaScopeBestEffort ResourceQuotaScope = "BestEffort"
|
||||||
|
Loading…
Reference in New Issue
Block a user