Repository navigation
Add persistent volume for repository cache - #210
softwarefactory-project-zuul[bot] merged 3 commits into
Conversation
|
Build succeeded.
|
TomasTomecek
left a comment
There was a problem hiding this comment.
I wonder if we should only keep trying this on stg before we feel confident in bringing it to prod
also, do we have documentation for how to update the cache? (asking b/c ReadWriteOnce is scaring me)
Empty cache on prod should not cause any problems. So we can try first on stage without any change in deployment.
|
This comment has been minimized.
This comment has been minimized.
The only option on OpenShift Online is AWS EBS provisioning supporting only `ReadWriteOnce` access: https://docs.openshift.com/online/pro/architecture/additional_concepts/storage.html#pv-restrictions Because of that, we need to have one repository-cache for each worker. The volume is mounted to /repository-cache path. Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Build failed.
|
|
Build succeeded.
|
|
@jpopelka Can you please take a look? What we need is to define for each worker:
|
|
Build succeeded.
|
For each worker, we need to have: * One volume in the worker's namespace and mount it to the worker. * One volume in the sandbox namespace and mount it via sandcastle. Signed-off-by: Frantisek Lachman <flachman@redhat.com>
|
I am dropping the |
|
Build succeeded.
|
|
Build succeeded (gate pipeline).
|
Add persistent volume to the worker for repository-cache.
The only option on OpenShift Online is AWS EBS provisioning
supporting only
ReadWriteOnceaccess:https://docs.openshift.com/online/pro/architecture/additional_concepts/storage.html#pv-restrictions
Because of that, we need to have one repository-cache for each worker.
The volume is mounted to /repository-cache path.
For now, the content of the cache will be maintained (adding/updating) manually.