Skip to content

Commit

Permalink
Merge pull request jupyterhub#1187 from jtpio/doc-pdb-user-scheduler
Browse files Browse the repository at this point in the history
Add pdb section to schema.yaml for the user scheduler
  • Loading branch information
consideRatio authored Mar 14, 2019
2 parents 38ae89e + ab145a8 commit 69ec17c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions jupyterhub/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,23 @@ properties:
type:
- string
- "null"
pdb:
type: object
description: |
Set the Pod Disruption Budget for the user scheduler.
See [the Kubernetes
documentation](https://kubernetes.io/docs/concepts/workloads/pods/disruptions/)
for more details about disruptions.
properties:
enabled:
type: boolean
description: |
Whether PodDisruptionBudget is enabled for the user scheduler.
minAvailable:
type: integer
description: |
Minimum number of pods to be available during the voluntary disruptions.
podPriority:
type: object
description: |
Expand Down

0 comments on commit 69ec17c

Please sign in to comment.