Skip to content

Commit

Permalink
Add pdb section to schema.yaml for hub and proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Feb 26, 2019
1 parent bb1c9fb commit b928d3e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions jupyterhub/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,23 @@ properties:
type: object
description: |
Kuberentes annotations to apply to the hub service.
pdb:
type: object
description: |
Set the Pod Disruption Budget for the hub pod.
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 hub pod.
minAvailable:
type: integer
description: |
Minimum number of pods to be available during the voluntary disruptions.
proxy:
type: object
Expand Down Expand Up @@ -552,6 +569,23 @@ properties:
hosts:
- <your-domain-name>
```
pdb:
type: object
description: |
Set the Pod Disruption Budget for the proxy pod.
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 proxy pod.
minAvailable:
type: integer
description: |
Minimum number of pods to be available during the voluntary disruptions.
required:
- secretToken
auth:
Expand Down

0 comments on commit b928d3e

Please sign in to comment.