Christian Weichel
f44a3a728b
[misc] Add missing license header
2020-12-09 15:05:26 +01:00
Christian Weichel
d813836905
[ws-scheduler] Fix JSON unmarshalling of TimeOfDay
...
/werft no-preview
2020-12-09 15:04:11 +01:00
Christian Weichel
01276418c5
[ws-scheduler] Add Prometheus metrics to scaler
2020-12-09 14:23:28 +01:00
Christian Weichel
adc29f35e6
[ws-scheduler] Introduce ghost-workspace scaler
2020-12-08 16:35:44 +01:00
Gero Posmyk-Leinemann
30df139318
[ws-scheduler] Fix leaking localBindingCache entries
2020-12-02 15:16:50 +01:00
Gero Posmyk-Leinemann
2416cbc84e
[ws-scheduler] Output state in Mi
2020-12-02 15:16:50 +01:00
Christian Weichel
6f05c4f787
[ws-scheduler] Maintain old behaviour - don't start the (broken) scaler
...
After talking to @geropl it turned out that the scaler is broken.
Not starting it was actually desired behaviour. However, we should
be explicit about it.
2020-12-02 15:09:25 +01:00
Christian Weichel
fca84a1174
[ws-scheduler] Don't let scheduler start block everything else
2020-12-02 15:09:25 +01:00
Christian Weichel
f347a95f09
[ws-scheduler] Match pprof/prometheus config shapes
2020-12-02 15:09:25 +01:00
Gero Posmyk-Leinemann
1ef6c88f81
[ws-scheduler] Introduce ramSafetyBuffer and adjust tests
2020-12-01 18:13:26 +01:00
Gero Posmyk-Leinemann
a46fb7e1a7
[ws-scheduler] Introduce ramSafetyBuffer and adjust tests
2020-12-01 18:08:09 +01:00
Christian Weichel
e9d2b41be1
[ws-scheduler] Fix nil-deref when informer is too slow
2020-12-01 17:27:41 +01:00
Christian Weichel
192bb320a6
[ws-scheduler] Add Prometheus and pprof support
2020-12-01 15:48:45 +01:00
Christian Weichel
c9a84b0fb0
[ws-scheduler] Add more detailed tracing
2020-12-01 13:18:59 +01:00
Christian Weichel
66bf9cc0aa
[ws-scheduler] Minor internal API cleanup
2020-12-01 13:18:59 +01:00
Christian Weichel
303488955b
[ws-scheduler] Simplify state computation
2020-12-01 13:18:59 +01:00
Gero Posmyk-Leinemann
c43afb32a7
[ws-scheduler] List pods from _all_ namespaces when calculating available resources
2020-12-01 11:42:58 +01:00
Christian Weichel
fc044c8f0b
[ws-scheduler] Impose order in UniquePods without Generation field
...
The `Generation` field is optional and its presence depends on the
underlying Kubernetes distribution. In the official one, at least in the
version we're using, that field is not present. Because of that we might
not merge the bindings with the pre-existing pods correctly, possibly
loosing localBindingCache information.
2020-12-01 09:59:37 +01:00
Christian Weichel
2cd331c7df
[ws-scheduler] Remove pod indirection
2020-12-01 09:59:37 +01:00
Gero Posmyk-Leinemann
6201e87ace
[ws-scheduler] Make sure we do not clear localBindingCache too early
2020-11-30 16:15:40 +01:00
Christian Weichel
e09398e220
[ws-scheduler] Pod must be ready for service to be available
2020-11-30 10:49:15 +01:00
Christian Weichel
76c8adc12c
[ws-scheduler] Support node-specific services during scheduling
2020-11-27 14:59:44 +01:00
Gero Posmyk-Leinemann
169c08111b
[ws-scheduler] Ephemeral storage tests
2020-11-27 14:19:16 +01:00
Gero Posmyk-Leinemann
20d0d98ca7
[ws-scheduler] Allow resources to be "equal", not just "bigger than"
2020-11-27 14:19:16 +01:00
Gero Posmyk-Leinemann
9846f623af
[ws-scheduler] Add eph. storage to debug/test output
2020-11-27 14:19:16 +01:00
Gero Posmyk-Leinemann
28e2ccb663
[ws-scheduler] Consider ephemeral storage during scheduling
2020-11-27 14:19:16 +01:00
Christian Weichel
c9986c4740
[ws-scheduler] Make scaler use UUIDv4 instead of v1
2020-11-26 09:58:17 +01:00
Christian Weichel
f7561f792a
[cerc] Move to google UUID package
...
Remedies https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSATORIGOUUID-72488
2020-11-26 09:58:17 +01:00
Christian Weichel
75558809c7
[go] go mod tidy in all components
2020-10-19 07:46:04 +02:00
Christian Weichel
7172d822c7
[ws-daemon] Fold ws-manager-node into ws-daemon
2020-10-19 07:46:04 +02:00
Christian Weichel
285edb4c7b
[go] go mod tidy all components
2020-10-13 11:10:53 +02:00
Christian Weichel
63d6f8fb3f
[ws-scheduler] go mod tidy
2020-10-13 11:10:53 +02:00
gitpod-init
24f7b609bf
initial commit
2020-08-25 09:25:15 +00:00