Merge pull request #93549 from Dean-Coakley/fix-res-quota-comments

Fix ResourceQuota comments
This commit is contained in:
Kubernetes Prow Robot 2020-12-08 16:28:36 -08:00 committed by GitHub
commit 4f2c21f9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"