/
poddisruptionbudgetstatus.json
46 lines (46 loc) · 2.27 KB
/
poddisruptionbudgetstatus.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"$schema": "http://json-schema.org/schema#",
"required": [
"disruptedPods",
"disruptionsAllowed",
"currentHealthy",
"desiredHealthy",
"expectedPods"
],
"type": "object",
"description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.",
"properties": {
"expectedPods": {
"type": "integer",
"description": "total number of pods counted by this disruption budget",
"format": "int32"
},
"observedGeneration": {
"type": "integer",
"description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.",
"format": "int64"
},
"disruptedPods": {
"additionalProperties": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
},
"type": "object",
"description": "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."
},
"desiredHealthy": {
"type": "integer",
"description": "minimum desired number of healthy pods",
"format": "int32"
},
"currentHealthy": {
"type": "integer",
"description": "current number of healthy pods",
"format": "int32"
},
"disruptionsAllowed": {
"type": "integer",
"description": "Number of pod disruptions that are currently allowed.",
"format": "int32"
}
}
}