mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #99682 from chymy/fix-misspelling
Fix misspelling and misgrammar
This commit is contained in:
commit
eb729620c5
@ -572,7 +572,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.
|
||||
@ -226,7 +226,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
|
||||
@ -241,15 +241,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.
|
||||
|
@ -148,7 +148,7 @@ type ForZone 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.
|
||||
|
@ -396,7 +396,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user