From 811bdbdcbbd9fae0e48ae85f7349651ac60363b8 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Mon, 13 Aug 2018 12:30:51 +0900 Subject: [PATCH] auto generated code --- api/openapi-spec/swagger.json | 1 - api/swagger-spec/policy_v1beta1.json | 1 - docs/api-reference/policy/v1beta1/definitions.html | 2 +- staging/src/k8s.io/api/policy/v1beta1/generated.proto | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 16accb8e4a..a96620d8ca 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -85145,7 +85145,6 @@ "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "required": [ - "disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", diff --git a/api/swagger-spec/policy_v1beta1.json b/api/swagger-spec/policy_v1beta1.json index 85d21587c2..a851205443 100644 --- a/api/swagger-spec/policy_v1beta1.json +++ b/api/swagger-spec/policy_v1beta1.json @@ -2266,7 +2266,6 @@ "id": "v1beta1.PodDisruptionBudgetStatus", "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "required": [ - "disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", diff --git a/docs/api-reference/policy/v1beta1/definitions.html b/docs/api-reference/policy/v1beta1/definitions.html index b8a2d4f3ed..bbcdece996 100755 --- a/docs/api-reference/policy/v1beta1/definitions.html +++ b/docs/api-reference/policy/v1beta1/definitions.html @@ -1648,7 +1648,7 @@ Examples: e.g. "foo/" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" f

disruptedPods

DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn’t occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.

-

true

+

false

object

diff --git a/staging/src/k8s.io/api/policy/v1beta1/generated.proto b/staging/src/k8s.io/api/policy/v1beta1/generated.proto index 1a14d946fc..9353d423db 100644 --- a/staging/src/k8s.io/api/policy/v1beta1/generated.proto +++ b/staging/src/k8s.io/api/policy/v1beta1/generated.proto @@ -151,6 +151,7 @@ message PodDisruptionBudgetStatus { // the list automatically by PodDisruptionBudget controller after some time. // If everything goes smooth this map should be empty for the most of the time. // Large number of entries in the map may indicate problems with pod deletions. + // +optional map disruptedPods = 2; // Number of pod disruptions that are currently allowed.