diff options
| author | Kubernetes Submit Queue <k8s-merge-robot@users.noreply.github.com> | 2017-10-15 08:32:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-15 08:32:23 -0700 |
| commit | 8aca2bf8a154e7f970d88e2f3b15b7415f01b27a (patch) | |
| tree | 6e740d48ef297849c8a7f9d6475eaf4e914971c5 | |
| parent | 3469142b07857a3d5593e20c7dd7f72d2bc7194d (diff) | |
| parent | b98895df15fbc134adaa805c0c3c3e02ba96da7e (diff) | |
Merge pull request #1193 from zhxcai/initializers
Automatic merge from submit-queue.
update lot of misspelled word to initializer
update lot of misspelled word to initializer
| -rw-r--r-- | contributors/design-proposals/api-machinery/dynamic-admission-control-configuration.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contributors/design-proposals/api-machinery/dynamic-admission-control-configuration.md b/contributors/design-proposals/api-machinery/dynamic-admission-control-configuration.md index 164fb40d..a7d42caa 100644 --- a/contributors/design-proposals/api-machinery/dynamic-admission-control-configuration.md +++ b/contributors/design-proposals/api-machinery/dynamic-admission-control-configuration.md @@ -21,7 +21,7 @@ default admission controls. This document hashes out the implementation details. * As a fallback, admin can always restart an apiserver and guarantee it sees the latest config -* Do not block the entire cluster if the intializers/webhooks are not ready +* Do not block the entire cluster if the initializers/webhooks are not ready after registration. ## Specification @@ -35,7 +35,7 @@ The schema is evolved from the prototype in [#132](https://github.com/kubernetes/community/pull/132). ```golang -// InitializerConfiguration describes the configuration of intializers. +// InitializerConfiguration describes the configuration of initializers. type InitializerConfiguration struct { metav1.TypeMeta @@ -43,9 +43,9 @@ type InitializerConfiguration struct { // Initializers is a list of resources and their default initializers // Order-sensitive. - // When merging multiple InitializerConfigurations, we sort the intializers + // When merging multiple InitializerConfigurations, we sort the initializers // from different InitializerConfigurations by the name of the - // InitializerConfigurations; the order of the intializers from the same + // InitializerConfigurations; the order of the initializers from the same // InitializerConfiguration is preserved. // +optional Initializers []Initializer `json:"initializers,omitempty" patchStrategy:"merge" patchMergeKey:"name"` @@ -63,7 +63,7 @@ type Initializer struct { Name string `json:"name"` // Rules describes what resources/subresources the initializer cares about. - // The intializer cares about an operation if it matches _any_ Rule. + // The initializer cares about an operation if it matches _any_ Rule. Rules []Rule `json:"rules,omitempty"` // FailurePolicy defines what happens if the responsible initializer controller @@ -106,7 +106,7 @@ type Rule struct { type FailurePolicyType string const ( - // Ignore means the initilizer is removed from the initializers list of an + // Ignore means the initializer is removed from the initializers list of an // object if the initializer is timed out. Ignore FailurePolicyType = "Ignore" // For 1.7, only "Ignore" is allowed. "Fail" will be allowed when the @@ -114,7 +114,7 @@ const ( Fail FailurePolicyType = "Fail" ) -// ExternalAdmissionHookConfiguration describes the configuration of intializers. +// ExternalAdmissionHookConfiguration describes the configuration of initializers. type ExternalAdmissionHookConfiguration struct { metav1.TypeMeta @@ -263,7 +263,7 @@ the timed out initializer. If the apiserver crashes, then we fall back to a `read repair` mechanism. When handling a GET request, the apiserver checks the objectMeta.CreationTimestamp of -the object, if a global intializer timeout (e.g., 10 mins) has reached, the +the object, if a global initializer timeout (e.g., 10 mins) has reached, the apiserver removes the first initializer in the object. In the HA setup, apiserver needs to take the clock drift into account as well. @@ -365,7 +365,7 @@ initializers from objects' initializers list. The controller uses shared informers to track uninitialized objects. Every 30s, the controller * makes a snapshot of the uninitialized objects in the informers. -* indexes the objects by the name of the first initialilzer in the objectMeta.Initializers +* indexes the objects by the name of the first initializer in the objectMeta.Initializers * compares with the snapshot 30s ago, finds objects whose first initializers haven't changed * does a consistent read of AdmissionControllerConfiguration, finds which initializers are fail-open * spawns goroutines to send patches to remove fail-open initializers |
