mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fix misspelling and misgrammar
Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
		@@ -559,7 +559,7 @@ type RollingUpdateDaemonSet struct {
 | 
			
		||||
	// pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
 | 
			
		||||
	// on that node is marked deleted. If the old pod becomes unavailable for any
 | 
			
		||||
	// reason (Ready transitions to false, is evicted, or is drained) an updated
 | 
			
		||||
	// pod is immediatedly created on that node without considering surge limits.
 | 
			
		||||
	// pod is immediately created on that node without considering surge limits.
 | 
			
		||||
	// Allowing surge implies the possibility that the resources consumed by the
 | 
			
		||||
	// daemonset on any given node can double if the readiness check fails, and
 | 
			
		||||
	// so resource intensive daemonsets should take into account that they may
 | 
			
		||||
 
 | 
			
		||||
@@ -118,7 +118,7 @@ type TokenRequest struct {
 | 
			
		||||
 | 
			
		||||
// TokenRequestSpec contains client provided parameters of a token request.
 | 
			
		||||
type TokenRequestSpec struct {
 | 
			
		||||
	// Audiences are the intendend audiences of the token. A recipient of a
 | 
			
		||||
	// Audiences are the intended audiences of the token. A recipient of a
 | 
			
		||||
	// token must identify themself with an identifier in the list of
 | 
			
		||||
	// audiences of the token, and otherwise should reject the token. A
 | 
			
		||||
	// token issued for multiple audiences may be used to authenticate
 | 
			
		||||
 
 | 
			
		||||
@@ -111,7 +111,7 @@ type VolumeSource struct {
 | 
			
		||||
	// +optional
 | 
			
		||||
	FlexVolume *FlexVolumeSource
 | 
			
		||||
 | 
			
		||||
	// Cinder represents a cinder volume attached and mounted on kubelets host machine.
 | 
			
		||||
	// Cinder represents a cinder volume attached and mounted on kubelet's host machine.
 | 
			
		||||
	// +optional
 | 
			
		||||
	Cinder *CinderVolumeSource
 | 
			
		||||
 | 
			
		||||
@@ -135,17 +135,17 @@ type VolumeSource struct {
 | 
			
		||||
	// ConfigMap represents a configMap that should populate this volume
 | 
			
		||||
	// +optional
 | 
			
		||||
	ConfigMap *ConfigMapVolumeSource
 | 
			
		||||
	// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
 | 
			
		||||
	// VsphereVolume represents a vSphere volume attached and mounted on kubelet's host machine
 | 
			
		||||
	// +optional
 | 
			
		||||
	VsphereVolume *VsphereVirtualDiskVolumeSource
 | 
			
		||||
	// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
 | 
			
		||||
	// +optional
 | 
			
		||||
	AzureDisk *AzureDiskVolumeSource
 | 
			
		||||
	// PhotonPersistentDisk represents a Photon Controller persistent disk attached and mounted on kubelets host machine
 | 
			
		||||
	// PhotonPersistentDisk represents a Photon Controller persistent disk attached and mounted on kubelet's host machine
 | 
			
		||||
	PhotonPersistentDisk *PhotonPersistentDiskVolumeSource
 | 
			
		||||
	// Items for all in one resources secrets, configmaps, and downward API
 | 
			
		||||
	Projected *ProjectedVolumeSource
 | 
			
		||||
	// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
 | 
			
		||||
	// PortworxVolume represents a portworx volume attached and mounted on kubelet's host machine
 | 
			
		||||
	// +optional
 | 
			
		||||
	PortworxVolume *PortworxVolumeSource
 | 
			
		||||
	// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
 | 
			
		||||
@@ -223,7 +223,7 @@ type PersistentVolumeSource struct {
 | 
			
		||||
	// provisioned/attached using an exec based plugin.
 | 
			
		||||
	// +optional
 | 
			
		||||
	FlexVolume *FlexPersistentVolumeSource
 | 
			
		||||
	// Cinder represents a cinder volume attached and mounted on kubelets host machine.
 | 
			
		||||
	// Cinder represents a cinder volume attached and mounted on kubelet's host machine.
 | 
			
		||||
	// +optional
 | 
			
		||||
	Cinder *CinderPersistentVolumeSource
 | 
			
		||||
	// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
 | 
			
		||||
@@ -238,15 +238,15 @@ type PersistentVolumeSource struct {
 | 
			
		||||
	// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
 | 
			
		||||
	// +optional
 | 
			
		||||
	AzureFile *AzureFilePersistentVolumeSource
 | 
			
		||||
	// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
 | 
			
		||||
	// VsphereVolume represents a vSphere volume attached and mounted on kubelet's host machine
 | 
			
		||||
	// +optional
 | 
			
		||||
	VsphereVolume *VsphereVirtualDiskVolumeSource
 | 
			
		||||
	// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
 | 
			
		||||
	// +optional
 | 
			
		||||
	AzureDisk *AzureDiskVolumeSource
 | 
			
		||||
	// PhotonPersistentDisk represents a Photon Controller persistent disk attached and mounted on kubelets host machine
 | 
			
		||||
	// PhotonPersistentDisk represents a Photon Controller persistent disk attached and mounted on kubelet's host machine
 | 
			
		||||
	PhotonPersistentDisk *PhotonPersistentDiskVolumeSource
 | 
			
		||||
	// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
 | 
			
		||||
	// PortworxVolume represents a portworx volume attached and mounted on kubelet's host machine
 | 
			
		||||
	// +optional
 | 
			
		||||
	PortworxVolume *PortworxVolumeSource
 | 
			
		||||
	// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
 | 
			
		||||
 
 | 
			
		||||
@@ -137,7 +137,7 @@ type EndpointConditions struct {
 | 
			
		||||
// EndpointPort represents a Port used by an EndpointSlice.
 | 
			
		||||
type EndpointPort struct {
 | 
			
		||||
	// The name of this port. All ports in an EndpointSlice must have a unique
 | 
			
		||||
	// name. If the EndpointSlice is dervied from a Kubernetes service, this
 | 
			
		||||
	// name. If the EndpointSlice is derived from a Kubernetes service, this
 | 
			
		||||
	// corresponds to the Service.ports[].name.
 | 
			
		||||
	// Name must either be an empty string or pass DNS_LABEL validation:
 | 
			
		||||
	// * must be no more than 63 characters long.
 | 
			
		||||
 
 | 
			
		||||
@@ -392,7 +392,7 @@ const (
 | 
			
		||||
type LimitedPriorityLevelConfiguration struct {
 | 
			
		||||
	// `assuredConcurrencyShares` (ACS) configures the execution
 | 
			
		||||
	// limit, which is a limit on the number of requests of this
 | 
			
		||||
	// priority level that may be exeucting at a given time.  ACS must
 | 
			
		||||
	// priority level that may be executing at a given time.  ACS must
 | 
			
		||||
	// be a positive number. The server's concurrency limit (SCL) is
 | 
			
		||||
	// divided among the concurrency-controlled priority levels in
 | 
			
		||||
	// proportion to their assured concurrency shares. This produces
 | 
			
		||||
 
 | 
			
		||||
@@ -122,7 +122,7 @@ func pfPod(expectedClientData, chunks, chunkSize, chunkIntervalMillis string, bi
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// WaitForTerminatedContainer wait till a given container be terminated for a given pod.
 | 
			
		||||
// WaitForTerminatedContainer waits till a given container be terminated for a given pod.
 | 
			
		||||
func WaitForTerminatedContainer(f *framework.Framework, pod *v1.Pod, containerName string) error {
 | 
			
		||||
	return e2epod.WaitForPodCondition(f.ClientSet, f.Namespace.Name, pod.Name, "container terminated", framework.PodStartTimeout, func(pod *v1.Pod) (bool, error) {
 | 
			
		||||
		if len(testutils.TerminatedContainers(pod)[containerName]) > 0 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user