Commit dd544bb9 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #37288 from juanvallejo/jvallejo/update-quota-scope-descriptions

Automatic merge from submit-queue (batch tested with PRs 39486, 37288, 39477, 39455, 39542) Update quota scope descriptions ```release-note release-note-none ``` This patch improves the help text descriptions for quota scopes. @kubernetes/kubectl
parents 9ef96309 134cada4
...@@ -411,13 +411,13 @@ func (d *ResourceQuotaDescriber) Describe(namespace, name string, describerSetti ...@@ -411,13 +411,13 @@ func (d *ResourceQuotaDescriber) Describe(namespace, name string, describerSetti
func helpTextForResourceQuotaScope(scope api.ResourceQuotaScope) string { func helpTextForResourceQuotaScope(scope api.ResourceQuotaScope) string {
switch scope { switch scope {
case api.ResourceQuotaScopeTerminating: case api.ResourceQuotaScopeTerminating:
return "Matches all pods that have an active deadline." return "Matches all pods that have an active deadline. These pods have a limited lifespan on a node before being actively terminated by the system."
case api.ResourceQuotaScopeNotTerminating: case api.ResourceQuotaScopeNotTerminating:
return "Matches all pods that do not have an active deadline." return "Matches all pods that do not have an active deadline. These pods usually include long running pods whose container command is not expected to terminate."
case api.ResourceQuotaScopeBestEffort: case api.ResourceQuotaScopeBestEffort:
return "Matches all pods that have best effort quality of service." return "Matches all pods that do not have resource requirements set. These pods have a best effort quality of service."
case api.ResourceQuotaScopeNotBestEffort: case api.ResourceQuotaScopeNotBestEffort:
return "Matches all pods that do not have best effort quality of service." return "Matches all pods that have at least one resource requirement set. These pods have a burstable or guaranteed quality of service."
default: default:
return "" return ""
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment