diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 1761e01396c..ca0d6a2a583 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -32406,7 +32406,7 @@ } }, "v1alpha1.Eviction": { - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.", + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/eviction.", "properties": { "deleteOptions": { "description": "DeleteOptions may be provided", diff --git a/api/openapi-spec/v1.json b/api/openapi-spec/v1.json index 1481b186237..3469799b09e 100644 --- a/api/openapi-spec/v1.json +++ b/api/openapi-spec/v1.json @@ -16204,7 +16204,7 @@ } }, "v1alpha1.Eviction": { - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.", + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/eviction.", "properties": { "deleteOptions": { "description": "DeleteOptions may be provided", diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 52faad884f3..801079faaff 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -19040,7 +19040,7 @@ }, "v1alpha1.Eviction": { "id": "v1alpha1.Eviction", - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.", + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/eviction.", "properties": { "kind": { "type": "string", diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index c640085a19a..0a5597c877d 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -6869,7 +6869,7 @@ The resulting set of endpoints can be viewed as:

v1alpha1.Eviction

-

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to …/pods/<pod name>/evictions.

+

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to …/pods/<pod name>/eviction.

@@ -8558,7 +8558,7 @@ The resulting set of endpoints can be viewed as:
diff --git a/pkg/apis/policy/types.go b/pkg/apis/policy/types.go index 78372436995..508688977a0 100644 --- a/pkg/apis/policy/types.go +++ b/pkg/apis/policy/types.go @@ -79,7 +79,7 @@ type PodDisruptionBudgetList struct { // Eviction evicts a pod from its node subject to certain policies and safety constraints. // This is a subresource of Pod. A request to cause such an eviction is -// created by POSTing to .../pods//evictions. +// created by POSTing to .../pods//eviction. type Eviction struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/apis/policy/v1alpha1/generated.proto b/pkg/apis/policy/v1alpha1/generated.proto index 25a499322f0..7722c1868df 100644 --- a/pkg/apis/policy/v1alpha1/generated.proto +++ b/pkg/apis/policy/v1alpha1/generated.proto @@ -32,7 +32,7 @@ option go_package = "v1alpha1"; // Eviction evicts a pod from its node subject to certain policies and safety constraints. // This is a subresource of Pod. A request to cause such an eviction is -// created by POSTing to .../pods//evictions. +// created by POSTing to .../pods//eviction. message Eviction { // ObjectMeta describes the pod that is being evicted. // +optional diff --git a/pkg/apis/policy/v1alpha1/types.go b/pkg/apis/policy/v1alpha1/types.go index 0076f1feedc..e2dfc733155 100644 --- a/pkg/apis/policy/v1alpha1/types.go +++ b/pkg/apis/policy/v1alpha1/types.go @@ -79,7 +79,7 @@ type PodDisruptionBudgetList struct { // Eviction evicts a pod from its node subject to certain policies and safety constraints. // This is a subresource of Pod. A request to cause such an eviction is -// created by POSTing to .../pods//evictions. +// created by POSTing to .../pods//eviction. type Eviction struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go b/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go index f11858ff242..82054d2ef27 100644 --- a/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go @@ -28,7 +28,7 @@ package v1alpha1 // AUTO-GENERATED FUNCTIONS START HERE var map_Eviction = map[string]string{ - "": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//eviction.", "metadata": "ObjectMeta describes the pod that is being evicted.", "deleteOptions": "DeleteOptions may be provided", } diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 73a21882aa4..27e3f93988c 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -5081,7 +5081,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "intstr.IntOrString": intstr.IntOrString{}.OpenAPIDefinition(), "policy.Eviction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//eviction.", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{ @@ -13462,7 +13462,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "v1alpha1.Eviction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//eviction.", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{