mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #93549 from Dean-Coakley/fix-res-quota-comments
Fix ResourceQuota comments
This commit is contained in:
commit
4f2c21f9e8
@ -4831,9 +4831,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"
|
||||||
|
@ -5613,9 +5613,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