forked from cw-ozaki/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpoddisruptionbudgetstatus.json
52 lines (52 loc) · 2.47 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
47
48
49
50
51
52
{
"description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.",
"required": [
"disruptedPods",
"disruptionsAllowed",
"currentHealthy",
"desiredHealthy",
"expectedPods"
],
"properties": {
"currentHealthy": {
"description": "current number of healthy pods",
"type": "integer",
"format": "int32"
},
"desiredHealthy": {
"description": "minimum desired number of healthy pods",
"type": "integer",
"format": "int32"
},
"disruptedPods": {
"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.",
"type": "object",
"additionalProperties": {
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"disruptionsAllowed": {
"description": "Number of pod disruptions that are currently allowed.",
"type": "integer",
"format": "int32"
},
"expectedPods": {
"description": "total number of pods counted by this disruption budget",
"type": "integer",
"format": "int32"
},
"observedGeneration": {
"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.",
"type": "integer",
"format": "int64"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#",
"type": "object"
}