Commit a635825
authored
This reverts commit 45d2a21.
This original commit introduces the requirement that cc_uploader is
co-located on the same VM as the cloud_controller_ng job. While this is
the case in cf-deployment, this is not the case for all deployments of
CF (like the VMware one).
As this commit has broken our deployment, and its not easy for us simply
to relocate the job, we propose we revert this and discuss options going forwards.
The cc_uploader originally was designed an independent process, typically processes
that require to be co-located are within the same job.
E.g. nginx, cloud_controller_ng and cloud_controller_local_worker.
Some options:
* Investigate a way to generically drain uploads from any source in
nginx rather than specifically in cc_uploader.
* Current timeout is [10 seconds](https://github.com/cloudfoundry/cloud_controller_ng/blob/5c4dac049bd28979284aeab1efa48c7075676131/lib/cloud_controller/drain.rb#L9)
* Find a way to sync draining between jobs without requiring
co-location.
* Keep the co-location requirement for draining but behind a capi-property.
1 parent c40eded commit a635825
File tree
2 files changed
+0
-3
lines changed- jobs
- cc_uploader
- cloud_controller_ng/templates
2 files changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
0 commit comments