mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	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
This commit is contained in:
		@@ -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 ""
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user