Skip to content

Commit

Permalink
Merge pull request #302 from rackerlabs/set-pdb
Browse files Browse the repository at this point in the history
feat: set minimal PDB for OpenStack APIs
  • Loading branch information
nicholaskuechler authored Sep 17, 2024
2 parents 7b5f50f + 67cac79 commit 76d43bf
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/glance/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ dependencies:
- glance-ks-user
- glance-ks-endpoints

pod:
lifecycle:
disruption_budget:
api:
min_available: 1

manifests:
job_db_init: false
job_rabbit_init: false
Expand Down
4 changes: 4 additions & 0 deletions components/ironic/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ pod:
- name: host-var-lib-understack
hostPath:
path: /var/lib/understack
lifecycle:
disruption_budget:
api:
min_available: 1

# we don't want to enable OpenStack Helm's
# helm.sh/hooks because they set them as
Expand Down
4 changes: 4 additions & 0 deletions components/keystone/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ pod:
- name: keystone-sso
secret:
secretName: keystone-sso
lifecycle:
disruption_budget:
api:
min_available: 1

conf:
keystone:
Expand Down
4 changes: 4 additions & 0 deletions components/neutron/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ conf:
pod:
use_fqdn:
neutron_agent: false
lifecycle:
disruption_budget:
server:
min_available: 1

# (nicholas.kuechler) updating the jobs list to remove the 'neutron-rabbit-init' job.
dependencies:
Expand Down
6 changes: 6 additions & 0 deletions components/nova/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ dependencies:
jobs:
- nova-db-sync

pod:
lifecycle:
disruption_budget:
osapi:
min_available: 1

manifests:
job_db_init: false
job_rabbit_init: false
Expand Down
6 changes: 6 additions & 0 deletions components/placement/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ dependencies:
db_sync:
jobs:

pod:
lifecycle:
disruption_budget:
api:
min_available: 1

manifests:
job_db_init: false

Expand Down

0 comments on commit 76d43bf

Please sign in to comment.