Skip to content

Commit

Permalink
Merge pull request #463 from rackerlabs/healthchecks-for-glance
Browse files Browse the repository at this point in the history
fix: Corrupted transfers from Glance
  • Loading branch information
cardoe authored Nov 12, 2024
2 parents 633c7bf + a438717 commit d5ed494
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions components/glance/aio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,33 @@ pod:
disruption_budget:
api:
min_available: 1
resources:
enabled: true
probes:
api:
glance-api:
readiness:
enabled: true
params:
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
liveness:
enabled: true
params:
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 8
failureThreshold: 6

conf:
glance_api_uwsgi:
uwsgi:
# This should be set to anything larger than 1.
# Otherwise uWSGI is not able to serve multiple requests at the same time
# under heavy load, which results in liveness probe failures in
# Kubernetes environment.
processes: 2

manifests:
job_db_init: false
Expand Down

0 comments on commit d5ed494

Please sign in to comment.